开发者

Javascript charting library for huge data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

Improve this question

Does anyone know of a Javascript charting library that can handle huge datasets?

By 'huge', I mean drawing a line graph with around 1,000 lines and 25,000 data points in total. (With an uneven distribution of points per line. A lot of lines have very few points, but some have up to 4,000.)开发者_Go百科 Here is an example data file.

Currently I'm using Highcharts, but it's far too slow at plotting huge datasets.

I don't want to use Flash or Silverlight.

I was hoping to use Javascript so that my users can zoom+pan around the graph, and turn lines on/off etc. But if this is just too much data for any Javascript charting library to handle, then I'll have to make the graphs server-side.


In their example, the dygraphs library handles six thousand data points in a very fast manner. Perhaps that would be suitable for your needs?

It is based on Canvas with excanvas for IE support.


The ZingChart JavaScript charting library might be worth checking out. It was specifically built for big data and offers some great features to ensure fast, stable renders without losing interactivity.

Here is a demo that renders 100k points in under one second. And if you'd like to make some comparisons, there is also the ZingChart Vs. demo (note the warning on the top right- some libs can mess with your browser).

Full disclosure, I'm on the ZingChart team. I'm happy to answer any questions you might have about the library.


ECharts can handle a large amount of data (I've tested them with 100k points x 3 series).

It is an open source and free to use (Apache 2.0) library. Here is an example of a large scale data chart https://ecomfe.github.io/echarts-examples/public/editor.html?c=candlestick-large

If you would like to use Echarts line series type with a large amount of data you should turn on "sampling" http://echarts.apache.org/option.html#series-line.sampling to aggregate data points. Another useful option would be showSymbol: false which will also boost performance.


Old thread but maybe of some use. Highcharts have added a 'boost' module to improve dataset point plotting. They say this can handle millions of data points with ease.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜