Hi,
It seems that the first plot is not indicated in the following conditions.
- data count is over 1000
- value of first plot is 0
- 'markers' option is set to null
Is there a way to prevent this from happening?
Code:
$(function() {
$('#JqChart').jqChart({
title : { text : 'Line Chart' },
animation : { duration : 1 },
axes: [
{
type : 'linear',
location : 'bottom',
zoomEnabled : true
},
{
type : 'linear',
location : 'left',
zoomEnabled : true
}
],
series : [
{
type : 'line',
title : 'Series 1',
strokeStyle : '#418CF0',
lineWidth : 2,
markers : null, // markers option
data : createData(),
}
]
});
});
function createData() {
var data = [];
var loop = 1001; // data count
var first = 0; // first plot value
data.push([0, first]);
for (var i = 1; i < loop; i++) {
data.push([i, Math.random() * 10]);
}
return data;
}
Thanks.