Decrease the points/pixel ratio again

The higher ratio screwed with the x-axis.
This commit is contained in:
Johan Tibell 2011-12-16 16:25:06 +01:00
parent aad9fe1b2e
commit d35ab3e851

View file

@ -88,7 +88,7 @@ $(function () {
};
var options = $.extend(true, {}, defaultOptions, opts)
var data = new Array(series.length);
var maxPoints = 600; // One point per pixel on a 600px wide plot
var maxPoints = 60;
for(var i = 0; i < series.length; i++)
data[i] = [];