scichart
TypeScript icon, indicating that this package has built-in type declarations

4.0.833 • Public • Published

SciChart.js: High Performance JavaScript Chart Library

SciChart.JS v4.0 is released!

Find out what's new in every Major and Minor release at the Change Log here

[NEW] Documentation

Find out our New Documentation web-site here

SciChart.js is a High Performance JavaScript Chart library. Leveraging WebGL and WebAssembly to achieve incredible big-data and real-time performance. Fast and able to draw millions of datapoints in realtime, our charts will never cause your app to slow down again!

Why SciChart?

SciChart has an extremely configurable and extensible API and is perfect for scientific, financial, medical, engineering and enterprise applications, apps with demanding performance requirements or complex and mission critical charting.

SciChart.js 2D 3D chart types

Releases

SciChart.js v4 is our biggest release for years, including polar charts, triangle and rectangle series for unlimited visualization potential, and much more.

We release often and if you want to report a bug, request a feature or give general feedback contact us!

License

SciChart.js is commercial software which ships with a free community edition for personal, non-commercial, educational or blogger/tutorial use.

Licensing Links

Demo Application

Getting Started

We've prepared a short Getting Started guide here.

This will walk you through the entire process of starting in your favourite framework and show you where tutorials and documentation are and examples.

Useful Links

Features & benefits

Onboarding

Support

Purchasing

Quick Start with NPM and Webpack

Tutorial

See full npm + Webpack tutorial here

SciChart.js can be loaded as an ES6 module with Babel or TypeScript transpiler.

  1. Install SciChart.js
npm install scichart
  1. Create a simple chart by putting this into src/index.js file
import { SciChartSurface, NumericAxis } from "scichart";

async function initSciChart() {
    const { sciChartSurface, wasmContext } = await SciChartSurface.create("scichart-root");

    // Create an X,Y Axis and add to the chart
    const xAxis = new NumericAxis(wasmContext);
    const yAxis = new NumericAxis(wasmContext);

    sciChartSurface.xAxes.add(xAxis);
    sciChartSurface.yAxes.add(yAxis);
}

initSciChart();
  1. Create src/index.html file
<html lang="en-us">
    <head>
        <meta charset="utf-8" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
        <title>SciChart.js Tutorial 1</title>
        <script async type="text/javascript" src="bundle.js"></script>
    </head>
    <body>
        <h1>Hello SciChart.js world!</h1>
        <p>In this example we setup webpack, scichart and create a simple chart with one X and Y axis</p>

        <!-- the Div where the SciChartSurface will reside -->
        <div id="scichart-root" style="width: 800px; height: 600px;"></div>
    </body>
</html>
  1. Run it npm start. As a result you will see a simple line chart.

Quick Start with Browser Bundle (Iife bundle)

Tutorial

See the full browser bundle tutorial here

If your environment does not include a bundler like Parcel or Webpack, you can still load SciChart.js using the browser bundle module from jsDelivr

  1. Include index.min.js in your webpage
<!-- Include specific version into index.html -->
<script src="https://cdn.jsdelivr.net/npm/scichart@4.0.0-beta.734/index.min.js" crossorigin="anonymous"></script>
  1. Create scichart-example.js file with a simple chart
// Equivalent of imports when using index.min.js is to declare global variables like this
const { SciChartSurface, NumericAxis, FastLineRenderableSeries, XyDataSeries } = SciChart;

async function initSciChart() {
    // Create the SciChartSurface in the div 'scichart-root'
    const { sciChartSurface, wasmContext } = await SciChartSurface.create("scichart-root");

    // Create an X,Y Axis and add to the chart
    const xAxis = new NumericAxis(wasmContext);
    const yAxis = new NumericAxis(wasmContext);

    sciChartSurface.xAxes.add(xAxis);
    sciChartSurface.yAxes.add(yAxis);

    // Add a series
    sciChartSurface.renderableSeries.add(
        new FastLineRenderableSeries(wasmContext, {
            dataSeries: new XyDataSeries(wasmContext, {
                xValues: [0, 1, 2, 3, 4],
                yValues: [2, 1, 4, 3, 2]
            })
        })
    );
}

Package Sidebar

Install

npm i scichart

Weekly Downloads

8,570

Version

4.0.833

License

https://www.scichart.com/scichart-eula

Unpacked Size

54.7 MB

Total Files

1410

Last publish

Collaborators

  • klishevich
  • scichart