Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Performance #18

Answered by graphieros
Barbapapazes asked this question in Q&A
Discussion options

Hello,

I'm looking for an alternative of chart.js because with more than 100 data point, it start struggling.

Does you lib goes well with 1000 data points and big charts in general?

Thanks

You must be logged in to vote

Hi,

chart.js uses canvas to render charts, so you are looking at the best possible performance here in terms of DOM operations, for a JS library. Vue Data UI uses svg to render charts, creating as many DOM nodes as there are datapoints, so on very large datasets, you would probably have performance issues related to DOM rendering. In both cases however, large datasets tend to reach Javascript's performance limitations, because of all the necessary array operations it has to run to convert and manipulate datasets.

I could run some tests, if you know what type of chart you need (line, bar, etc), and the shape of your data (not the actual data).

Replies: 1 comment

Comment options

Hi,

chart.js uses canvas to render charts, so you are looking at the best possible performance here in terms of DOM operations, for a JS library. Vue Data UI uses svg to render charts, creating as many DOM nodes as there are datapoints, so on very large datasets, you would probably have performance issues related to DOM rendering. In both cases however, large datasets tend to reach Javascript's performance limitations, because of all the necessary array operations it has to run to convert and manipulate datasets.

I could run some tests, if you know what type of chart you need (line, bar, etc), and the shape of your data (not the actual data).

You must be logged in to vote
0 replies
Answer selected by graphieros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /