Hello there,
I have a RadHtmlChart which has multiple LineSeries series. In the legend, when clicking on the one of the series, it neatly toggles on and off that series from the chart. This functionality is really cool; however, I've been trying to figure out what is occurring behind the scenes. Is the chart's repaint() function being called on each click?
Here is why I'm trying to further understand this. I have a little function that I wrote that automatically hides every nth label along the x axis depending upon the number of data points there are after I bind some data client side. It's a work around to the overcrowding of labels that can occur along the x-axis with large data sets. See attached image if I've lost you.
Anyways, when clicking on a series in the legend, it takes away that series as it should, but all of the date labels have reappeared as shown in attached 2. I'm looking for an event to be able to hook into so I can call my function that hides the labels.
I appreciate all input and ideas.
I have a RadHtmlChart which has multiple LineSeries series. In the legend, when clicking on the one of the series, it neatly toggles on and off that series from the chart. This functionality is really cool; however, I've been trying to figure out what is occurring behind the scenes. Is the chart's repaint() function being called on each click?
Here is why I'm trying to further understand this. I have a little function that I wrote that automatically hides every nth label along the x axis depending upon the number of data points there are after I bind some data client side. It's a work around to the overcrowding of labels that can occur along the x-axis with large data sets. See attached image if I've lost you.
Anyways, when clicking on a series in the legend, it takes away that series as it should, but all of the date labels have reappeared as shown in attached 2. I'm looking for an event to be able to hook into so I can call my function that hides the labels.
I appreciate all input and ideas.