Directory

← Back

LightChart

A version of Vaadin Charts that uses less memory with large datasets.

Author

Contributors

Rating

A version of Vaadin Charts that uses less memory with large datasets.

This version doesn't keep references to the data shown in the charts, but just pushes that directly to the browser. This saves a lot of memory if you are drawing charts with large or huge data.

Note that to use this add-on, you'll also need a valid license to Vaadin Charts. Only the extension part comes with Apache 2.

Sample code

        // Instantiate LightChart instead of Chart 
        Chart chart = new LightChart(ChartType.COLUMN);
        // Use the exact same API as with Chart 
        chart.getConfiguration().addSeries(createLargeSeries());
        add(chart);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

  • More memory saved
  • No special API needed, drop in replacement for Vaadin Charts
  • Maven Central release
Released
2023-03-20
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 23
Vaadin 24
Vaadin 23+ in 1.0.0
Browser
Browser Independent
Online