To make a jqPlot bar chart resizeable, you need to do this:
1 2 3 4 5 6 7 |
$(window).on('resize', function () { $.each(chart.series, function(index, series) { series.barWidth = undefined; }); }); |
where “chart” is the object returned by $.plot when initializing the plot.