Skip to content

Lightning-Chart/lcjs-example-0046-nanosecondTimestampsChart

Repository files navigation

JavaScript Nanosecond Timestamp Chart

JavaScript Nanosecond Timestamp Chart

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.

Description

Demonstration of time series zoom in capabilities of LightningChart JS.

The example loads random generated time series data with 1 nanosecond time step. To highlight how difficult this is, normal JavaScript numbers can't even accurately measure timestamps with this accuracy. Nanosecond timestamps must be loaded as BigInts.

This example showcases 1 day of data with data gaps and total 1 million data points. By default, the user sees the maximum zoomed in view (approximately 50 nanoseconds). Below, you can see a zoom band chart showing the complete data set. This is mainly added there to help understand how ridiculous the zoom in magnitude is.

For more details about nanosecond timestamp use cases, please refer to Developer documentation

API Links

Support

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 sales@lightningchart.com.

Direct developer email support can be purchased through a Support Plan or by contacting sales@lightningchart.com.

© LightningChart Ltd 2009-2022. All rights reserved.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published