Flot: Adjusting y-axis scale on a multiple Y-axes chart
I am creating a multiple Y axes chart in flot with autorange option. My
issue is that sometimes after the graph is plotted, i need to adjust the
scale of some Y axis, and i'd like to do this by clicking the selected
axis and scrolling the mouse or something similar to adjust the scale.
I've been looking for this option in FLOT API, in google and here, but
still haven't found something similar. I've been thinking of selecting the
Y axis following this example
(http://www.flotcharts.org/flot/examples/axes-interacting/index.html) and
then open a pop-up window with a form inside to write the min. and max.
value for the axis, and then plot the graph again, but i think it could be
better doing the way i described. Do you have any ideas? Can someone help
me to find some way to do it?
No comments:
Post a Comment