Hi
thanks for your wonderful jqchart library, its very good. Apologies if this has been asked before.
I have a requirement where separate charts all have the same x axis values. What I want to do is to have a single zoom bar on one chart which also zooms all the other charts at the same time.
I have got code like this working (it changes the y axis max). but I can't figure out how to programatically set the x-axis range on the second chart, Any help would be appreciated please
Code:
$('#jqChart2').bind('axisZoom', function(e, data) {
var chart = data.chart;
var axis = data.axis;
$('.slider-time').html(Math.round(axis.actualVisibleMinimum));
$('#jqChart').jqChart('option', 'background', 'yellow');
$('#jqChart').jqChart('option', 'axes', [ {
maximum : 100000
} ]);
});