views:

48

answers:

0

I am using Highcharts to make area charts for certain data for a day. The data is collected every 15 mins and the data is shown for one day where the X-axis interval is 2 hours. So for every interval I have 8 points which are to be used to construct the area chart. What I guessed was that if I give plotOptions as

plotOptions: {
        series: {
            pointStart: Date.UTC(2010, 0, 1,0,0,0),
            pointInterval: 2 * 3600 * 1000
        }
    }

and the whole array of 24*4 values(values are present in a 15 min interval every day) then Highcharts will show values on X-axis as 00:00 to 22:00 and spread the number of points evenly to generate the chart. But every X- axis value takes a Y-axis value. How do i get a chart with the above specifications using Highcharts ?