Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PolarChartOptions<CursorPointMarkerType, CursorResultTableBackgroundType>

Interface for readonly configuration of PolarChart.

Some properties of PolarChart can only be configured when it is created. These arguments are all optional, and are wrapped in a single object parameter:

 // Example, create chart with specified color theme.
 const chart = LightningChart.Polar({
     theme: Themes.light,
 })

Watch out! The full set of available readonly configuration parameters depends on if the chart is standalone, or inside a dashboard:

For standalone PolarChart, more parameters are documented in LightningChart.Polar.

For dashboard PolarChart, more parameters are documented in Dashboard.createPolarChart.

Commonly used properties:

Example usage:

 // Example 1, create chart with default configuration.
 const chart = LightningChart.Polar({})
 // Example 2, create chart with specified color theme.
 const chart = LightningChart.Polar({
     theme: Themes.light,
 })

Index

Properties

Optional autoCursorBuilder

autoCursorBuilder : AutoCursor2DBuilder<CursorPointMarkerType, CursorResultTableBackgroundType>

Builder for the charts' auto cursor. Use AutoCursorBuilders.Polar to modify the default builder, using methods of AutoCursor2DBuilder.

 // Example, change cursor ResultTable background shape.
 const chart = LightningChart.Polar({
     autoCursorBuilder: AutoCursorBuilders.Polar
         .setResultTableBackground(UIBackgrounds.Circle)
 })

Optional disableAnimations

disableAnimations : undefined | false | true

Convenience flag that can be used to disable all animations in a component.

Optional theme

theme : Theme

Color theme for the component.

A collection of default implementations can be accessed by Themes.

 // Example, specify color theme of chart.
 const chart = LightningChart.ChartXY({
     theme: Themes.light
 })