Hi
When using multi series data, is it possible to hide certain series via user action (e.g.: click)?
I want to implement a feature in my chart which allows users to show / hide series. For example, the user could click to a legend entry to toggle the visibility of the corresponding series. Is this supported by ngx-charts already or would this require a custom implementation?
Thanks in advance.
I'm wondering the same thing. This library looks great, but I think not being able to toggle series would be a deal breaker for us.
same way for us.
toggling series via legends is a must-have demand by our customers.
would be great if available.
the solution now is you can build custom series by copy the series implementation in source code and add a "show" input property. Then build your custom graph by copying the graph source code and replace their series with your own custom series.
Thanks.
Eventually - that demand was removed, so we can use your library freely :-)
Any progress on supporting this per default for each graph?
I started my own Fork to do this. right now I only have it implemented on the gauge graph, but it shouldn't take too much to add it to the other graphs.
https://github.com/StephS/ngx-charts
it's based off of the same way that activeEntries works, by adding a hiddenEntries array that keeps track of which series to hide.
I need it for other charts too, so i'll try to keep at it. for now you can try my fork and play around with the gauge graph.
Most helpful comment
same way for us.
toggling series via legends is a must-have demand by our customers.
would be great if available.