Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChartXYOptions<CursorPointMarkerType, CursorResultTableBackgroundType, CursorTickMarkerBackgroundTypeX, CursorTickMarkerBackgroundTypeY>

Interface that can be used to define ChartXY configurations that can't be changed after creation. For example:

  • Supplying a custom Builder for the AutoCursor of Chart. This can be used to modify the AutoCursor on a level, which can't be done during runtime. For example, changing the shape of ResultTable Background, Etc.

Example usage:

Desired result Value
Default undefined
Preset theme { theme: Themes.light }
Specified AutoCursor ResultTable Background { autoCursorBuilder: AutoCursorBuilders.XY.setResultTableBackground(UIBackgrounds.Circle) }

Index

Properties

Optional autoCursorBuilder

autoCursorBuilder : AutoCursorXYBuilder<CursorPointMarkerType, CursorResultTableBackgroundType, CursorTickMarkerBackgroundTypeX, CursorTickMarkerBackgroundTypeY>

Builder for the Charts AutoCursor. If omitted, a default one will be used. AutoCursorBuilders.XY can be used to build a custom one from scratch.

Optional disableAnimations

disableAnimations : undefined | false | true

Disable animations by default

Optional theme

theme : Theme

Theme used to style all elements inside the Chart. See Themes for pre-made options.