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

#31830

@jason-chen,

The 2nd line doesn’t show the markers.

Setting markerSize to 0 hides the marker. Setting it to value higher than 0 should work fine in this case. Please take a look at this updated JSFiddle.

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)

Clicking on line is not possible as of now. However you can hide / unhide dataseries by setting visible property as shown in this JSFiddle.

Can we use an icon rather than the default markers? Can we provide as many custom icons as we want to?

It’s not possible to add image/icons instead of marker. However you can position image on top of chart as shown in this JSFiddle.