Interface PolarChartOptions<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 Polar.

For dashboard PolarChart, more parameters are documented in createPolarChart.

Commonly used properties:

  • PolarChartOptions.theme: Specify chart color theme.
  • animationsEnabled: Convenience flag to disable all animations from chart.

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,
})

Type Parameters

Hierarchy

Properties

animationsEnabled?: boolean

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

cursorBuilder?: CursorBuilder2D<CursorResultTableBackgroundType>

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

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