0

I am having problem in plotting the timeseries chart in highcharts exmaple

            12/05/2012  - 100
            12/01/2012  - 200    
        12/15/2012  - 300   
            11/01/2012  - 400

when i plot chart its order of printing is based on order of data points but i want to plot the data time wise i.e 11/01/2012,12/01/2012,12/05/2012,12/15/2012

While plotting th chart its gets printed in zig zag manner instaed of trend line. http://jsfiddle.net/vG8QM/

Sunny Sunny
  • 3,204
  • 4
  • 25
  • 26
  • 2
    Just sort the data. If you fetch the data from a database you should sort it in that step. – Nils Dec 19 '12 at 07:25

1 Answers1

1

Time based data needs to be in chronological order starting from earliest date.

wergeld
  • 14,332
  • 8
  • 51
  • 81
  • Please look at my [question here](http://stackoverflow.com/questions/27983248/need-help-in-plotting-a-chart-using-highcharts-in-angularjs) – AabinGunz Jan 17 '15 at 19:08