Opened 8 years ago
Closed 5 years ago
#17261 closed enhancement (patchwelcome)
Chart2D - Pass more parameters to styleFunc
Reported by: | bernie0711 | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | Charting | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The styleFunc gets as only parameter the currently painted value.
I have a use case where I want to return the style depending on the current value of another series. E.g. SeriesA is red when value is lower than value of SeriesB. So passing not only the value but also the index in the series to the styleFunc would help much. Also having the series name in the styleFunc would make sense to support different styles for the same Plot depending on the Series.
Change History (1)
comment:1 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Given that no one has shown interest in creating a patch in the past 2+ years, I'm closing this as patchwelcome.