@diano4ka,
The first few datapoints are not displayed initially because you are setting the x-axis interval to 1 minute, however, there is insufficient data to show a 1-minute interval. Setting the interval to 1 minute after there is data for more than a minute will fix this as shown in the code snippet below:
if(this.options.data[0].dataPoints.length > 30) {
this.options.axisX.interval = 1;
this.options.axisX.intervalType = 'minute';
}
Please check this updated JSFiddle for a working example.
—
Thangaraj Raman
Team CanvasJS