[Solved] Bind highstock(highcharts) to live data?


Finally I could find the solution. I needed to add xAxis property to my chart. By adding the code below, problem solved. Now it starts from current time.

xAxis: {
                type: 'datetime',
                tickPixelInterval: null,
                maxZoom: 10 * 1000,
                min: new Date().getTime()
            }

solved Bind highstock(highcharts) to live data?