0

I want to use a open source javascript charting library to plot timeseries data, but my requirement is that it should support millisecond precision for the X-axis. Is there any such out there? How about precision upto seconds?

Additional requirement is that I prefer to do less work in my javascript code. So the ideal solution would be able to read a csv file to get the data and plot. Something like the temperatures.csv example of dygraph: http://dygraphs.com/index.html

An additional nice to have would be support for multiple Y-axes, but that's probably a whole another question.

Example input data would be:

2012-12-12 21:20:01.134000,0.0524060
2012-12-12 21:20:02.374000,0.0635470
2012-12-12 21:20:03.493000,0.0754630
2012-12-12 21:20:04.647000,0.0557800
2012-12-12 21:20:05.693000,0.1131610
2012-12-12 21:20:06.767000,0.0454080
2012-12-12 21:20:07.905000,0.0455790
2012-12-12 21:20:09.194000,0.0543930
2012-12-12 21:20:10.344000,0.0912380
2012-12-12 21:20:11.617000,0.0368600
2012-12-12 21:20:12.760000,0.0895100

Thanks!

4

1 回答 1

0

AmCharts http://www.amcharts.com/支持 x 轴和多值轴上的毫秒数。它没有内置的 cvs 加载程序,但有一个如何做到这一点的示例:http://blog.amcharts.com/2011/03/amcharts-javascript-tutorials-part-2.html

于 2012-12-15T08:20:43.140 回答