You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current state:
Instance of X/YValueIndicator/RangeIndicator is added to the chart's plugins. (to my knowledge) there is no way to identify the individual instance of an indicator. Currently I can only filter the plugins using .filter(plugin -> plugin instanceof ). This will fail if there is more than one indicator with the same class.
Request:
Add a possibility to add an ID to the indicator instance with corresponding setters/getters to be able to filter for specific indicator instance by name (id)
The text was updated successfully, but these errors were encountered:
I think you are correct that this exact behavior is currently not implemented. What is implemented is that a ValueIndicator will set a css class for y-ValueIndicator, ValueIndicator and y-ValueIndicator-<n> where ' ' is a unique index. So if you just want them to e.g. have different colors, you could do that with what is currently implemented. (see {here and here for the implementation)
Also the X/YWatchValueIndicator (basically an indicator with a little flag displaying the value on top of the axis) extends the ValueIndicator and implements an ID which also gets applied to the css class, it shouldn't be to much change to pull these methods up into the base class to make this useful feature available to all the Indicator variants. I'd be happy to review and merge a PR that implements this.
Current Version: 11.3.1
Current state:
Instance of X/YValueIndicator/RangeIndicator is added to the chart's plugins. (to my knowledge) there is no way to identify the individual instance of an indicator. Currently I can only filter the plugins using .filter(plugin -> plugin instanceof ). This will fail if there is more than one indicator with the same class.
Request:
Add a possibility to add an ID to the indicator instance with corresponding setters/getters to be able to filter for specific indicator instance by name (id)
The text was updated successfully, but these errors were encountered: