Hi Swan, I think you need to use this function. Enable scaling of the graph. I hope it will be useful for you. All the best
Again, jqPlot is a terrific javascript image library that supports many useful features. In addition to interactive histograms. Here is a plugin that allows you to capture click events for histograms.
$.jqplot('Graph', data, { barClickable: { onClick: function(i, j, data){ alert("Clicked series: " + i + ", data point: " + j + ", data: " + data); } }});
source share