Home › Forums › Chart Support › Show the line chart data for one or multiple lines based on click event › Reply To: Show the line chart data for one or multiple lines based on click event
Here is the JSFiddle I just created.
As you can see, we want to be able to show all data points by clicking on that line (or trigger an event from outside of the chart area).
And it will stay until the hide event triggered by either clicking on that line again or hide event triggered from the outside.
Right now, using the marker syntax, I can show numbers(indexLabels) from two lines.
Here is one major issue I am seeing so far.
1. The 2nd line doesn’t show the markers.
1. Click the line will trigger the on/off event from the line itself and/or from events outside, is it possible? (need to support multiple lines showing the data)
2. Can we use an icon rather than the default markers? Can we provide as many custom icons as we want to? (i.e. primeNg icons)