score:2

Accepted answer

Yes, you can specify time using array of numbers, the first index represents time and the second represents the value.

  data: [
                [Date.UTC(2000,  9, 27), 0   ],
                [Date.UTC(2000, 10, 10), 0.6 ],
                [Date.UTC(2000, 10, 18), 0.7 ],
                [Date.UTC(2000, 11,  2), 0.8 ],
                [Date.UTC(2000, 11,  9), 0.6 ],
                [Date.UTC(2000, 11, 16), 0.6 ],
                [Date.UTC(2000, 11, 28), 0.67],
                [Date.UTC(2001,  1,  1), 0.81],
                [Date.UTC(2001,  1,  8), 0.78],
                [Date.UTC(2001,  1, 12), 0.98]

            ]

See example here : http://jsfiddle.net/0v6LphLd/


Related Articles