Interface SpiderChartOptions<CursorPointMarkerType, CursorResultTableBackgroundType>

Interface for readonly configuration of SpiderChart.

Some properties of SpiderChart 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.Spider({
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 SpiderChart, more parameters are documented in Spider.

For dashboard SpiderChart, more parameters are documented in createSpiderChart.

Commonly used properties:

  • SpiderChartOptions.theme: Specify chart color theme.
  • disableAnimations: Convenience flag to disable all animations from chart.

Example usage:

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

Type Parameters

Hierarchy

Properties

autoCursorBuilder?: AutoCursor2DBuilder<CursorPointMarkerType, CursorResultTableBackgroundType>

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

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

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