Vaadin Charts loading millions points is too slow

anyone know how to speed up the display of a charts with millions points with Vaadin Charts?



Yes. In pretty much using same kind of idea.

E.g. with line charts, it makes no sense to send all million data points to client as your client probably only has about 1k horizontal pixels visualize them. So the answer is: reduce the datataset.

Check out sources tab of this example, you’ll find excellent algorithm to reduce the data without losing essential points from the data:

Also you can use the “master-detail” example if you want to let your users to dig into details of the data.

BTW. The Vaadin Charts also contains “Timeline” component that has bit different kind of architecture (not based on the excellent Highcharts library). But it has built in functionality to reduce the dataset automatically.