Skip to main content

Axis API Overview

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.

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:

Here's the content formatted as a two-column Markdown table:

Axis TypeDescription
NumericAxisValue Axis / Numeric Types
PolarNumericAxisValue Axis / Numeric Types for Polar Charts
DateTimeNumericAxisValue Axis with additional features for Dates and Time formatting
CategoryAxisCategory Axis - measures using index - Numeric Types or Dates
PolarCategoryAxisCategory Axis for Polar Charts - measures using index - Numeric Types or Dates
LogarithmicAxisLogarithmic Axis supporting Base2, BaseE, Base10 with or without scientific notation
Text / String AxisUse LabelProviders to format axis labels as text
Above: The JavaScript Axis Types example from the SciChart.js Demo

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

Axis Layout (Multiple Axis, Axis Alignment)

Q: Is it easier to render axes and layouts with SciChart compared to competitors?

Yes, with SciChart.js, many axis configurations are possible, these are covered in detail in What Axis Configuration Options and Axis Layout Options does SciChart.js Support?

For an overview of axis layout options, see the documentation links below:

Above: The JavaScript Multiple X Axis example from the SciChart.js Demo

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

Axis Label Configuration

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

Above: The JavaScript Multiline Axis Labels example from the SciChart.js Demo

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

Axis Ranging and Scaling

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

Above: The JavaScript Multiple zoom, pan behaviours example from the SciChart.js Demo

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 ChartModifiers. See sections in the ChartModifier API for more details.

Axis Styling

Finally, SciChart.js supports Axis styling, including:

Above: The JavaScript Chart with custom style applied in code example from the SciChart.js Demo

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