This demo application belongs to the set of examples for LightningChart JS, data visualization library for JavaScript.
LightningChart JS is entirely GPU accelerated and performance optimized charting library for presenting massive amounts of data. It offers an easy way of creating sophisticated and interactive charts and adding them to your website or web application.
The demo can be used as an example or a seed project. Local execution requires the following steps:
-
Make sure that relevant version of Node.js is installed
-
Open the project folder in a terminal:
npm install # fetches dependencies npm start # builds an application and starts the development server
-
The application is available at http://localhost:8080 in your browser, webpack-dev-server provides hot reload functionality.
This example showcases the SurfaceGridSeries
feature of LightningChart JS and more specifically its ability to process two different data sets:
- Height data set
- Intensity data set
Both of these data sets are structured similarly (one value for each column & row combination in surface grid), but serve different purposes. Height data set is used to alter the visible shape of the series, while the Intensity data set can optionally be used for coloring the series.
See Surface Grid Chart Example for a usage scenario, which only uses the Height data set.
This example generates a different data set for Height and Intensity data, and colors the surface according to the Intensity data set, effectively forming a 4-dimensional data visualization (X, Y, Z, Color).
-
Surface Grid Chart (only Y data) | This example showcases the most simple usage of surface grid series, and also has a bit more detailed description of the related terms.
-
Chunked Surface Grid Chart | This example shows how surface grid series can be split into sub sections which are loaded individually for better performance and response time.
-
Real-Time Audio Spectrum Surface Chart | This example showcases using real-time data source with surface series.
- 3D chart
- 3D axis
- Paletted Fill
- Color lookup table
- Color RGBA factory
- Color shading styles (3D)
- Surface Grid Series
- Axis scroll strategies
- Axis tick strategies
If you notice an error in the example code, please open an issue on GitHub repository of the entire example.
Official API documentation can be found on LightningChart website.
If the docs and other materials do not solve your problem as well as implementation help is needed, ask on StackOverflow (tagged lightningchart).
If you think you found a bug in the LightningChart JavaScript library, please contact [email protected].
Direct developer email support can be purchased through a Support Plan or by contacting [email protected].
© LightningChart Ltd 2009-2025. All rights reserved.