Builder for the charts' auto cursor. Use AutoCursorBuilders.XY to modify the default builder, using methods of AutoCursorXYBuilder.
// Example, change cursor ResultTable background shape.
const chart = LightningChart.ChartXY({
autoCursorBuilder: AutoCursorBuilders.XY
.setResultTableBackground(UIBackgrounds.Circle)
})
Column index on dashboard (X location, 0 = left)
Column span (X width), default = 1
Interface for specifying Axis X configurations that can't be changed after creation of the Axis.
Example usage:
ChartXY({
defaultAxisX: {
opposite: true,
}
})
ChartXY({
defaultAxisX: {
type: 'logarithmic',
base: 10,
}
})
NOTE: Not all series types support logarithmic axes! Attaching a non-supported Series will crash the application.
List of series that support logarithmic Axes:
List of series that do not support logarithmic Axes:
Interface for specifying Axis Y configurations that can't be changed after creation of the Axis.
Example usage:
ChartXY({
defaultAxisY: {
opposite: true,
}
})
ChartXY({
defaultAxisY: {
type: 'logarithmic',
base: 10,
}
})
NOTE: Not all series types support logarithmic axes! Attaching a non-supported Series will crash the application.
List of series that support logarithmic Axes:
List of series that do not support logarithmic Axes:
Optional flag that can be used to disable all animations by default.
Row index on dashboard (Y location, 0 = top)
Row span (Y height), default = 1
Theme used to style all elements inside the component. See Themes for pre-made options.
Interface that can be used to define ChartXY configurations, when inside a Dashboard, that can't be changed after creation. For example:
Specifying TickStrategies for default X or Y Axes'. This is mostly used for creating DateTime Axes.
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:
// Default undefined // Specified AutoCursor ResultTable Background { chartXYOptions: { autoCursorBuilder: AutoCursorBuilders.XY.setResultTableBackground(UIBackgrounds.Circle) } }