Hi all,
I have a flot line chart with a number of lines, where each data series can be hidden by clicking on its legend. I use getData(), update the lines.show to false for the series to hide it, and redraw the chart. This works great, however the X & Y axes remain scaled as if the "hidden" series is still there.
Just wondering if there's an "automatic" way to recalculate the axes when redrawing the chart to ignore hidden series data? Sometimes the remaining data is all squeezed into a small portion of the Y-axis for example and looks a bit odd.
I'm ok if the answer is that I need to manually set the min/max values, just don't want to do that if there's something I have overlooked that does this automagically :)
Cheers,
--Nick