SciChart.js JavaScript 2D Charts API > Axis APIs > Start Here - Axis Overview in SciChart.js
Start Here - Axis Overview in SciChart.js

 

SciChart.js has a rich and configurable axis API. We believe you won't find a JavaScript Chart in the world with as many options for axis as SciChart!

This page we're going to give you an overview of what the Axis APIs can do and then show you where to look next for more detail.

What can SciChart.js Do with Axis?

Heres a quick list of what SciChart.js can do with axis configuration, and where to go next.

Above: The JavaScript Axis Layout Options example from the SciChart.js Demo, showing a variety of axis configurations in SciChart.js.

1. Many Axis Types

There are several axis types in SciChart.js. Although they all differ in types of data values that can be rendered, the most fundamental difference is in their behavior.

By that, the axes can be divided into two groups, Category and Value axis types.

The axis types provided by SciChart.js are listed below:

Axis Type Value or Category Axis
NumericAxis Value Axis / Numeric Types
DateTimeNumericAxis Value Axis with additional features for Dates and Time formatting
CategoryAxis Category Axis - measures using index - Numeric Types or Dates
LogarithmicAxis Logarithmic Axis supporting Base2, BaseE, Base10 with or without scientific notation
Text / String Axis Use LabelProviders to format axis labels as text

 

 Above: The Axis Types example in SciChart.js demo.

To learn more about the axis types, click one of the article links in the table above.

2. Axis Layout (Multiple Axis, Axis Alignment)

Many axis configurations are possible, including:

 Above: The Multiple X Axis example in SciChart.js demo.

To learn more about the axis layout options see the pages in the list above.

3. Axis Label Configuration

SciChart.js has a number of label APIs, including:

 

 Above: The Multiline Axis Labels example in SciChart.js demo.q

To learn more about the axis labelling options see Axis Label Formatting and related pages

4. Axis Ranging and Scaling

It's possible to programmatically control axis ranging, scaling and auto-fitting of data.

To learn more about the axis labelling options see Axis Label Formatting and related pages
Zooming and panning of Axis (such as mouse-drag, or mousewheel zoom) is handled by the ChartModiifers. See sections in the ChartModifier API for more details.

5. Axis Styling

Finally, SciChart.js supports Axis styling, including:

To learn more about the axis styling options see Axis Styling and related pages