Optional
autoBuilder 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)
})
Optional
defaultInterface 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:
Optional
defaultInterface 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
disableConvenience flag that can be used to disable all animations in a component.
Interface for readonly configuration of ChartXY.
Some properties of
ChartXY
can only be configured when it is created. These arguments are all optional, and are wrapped in a single object parameter:Watch out! The full set of available readonly configuration parameters depends on if the chart is standalone, or inside a dashboard:
For standalone
ChartXY
, more parameters are documented in ChartXY.For dashboard
ChartXY
, more parameters are documented in createChartXY.Commonly used properties:
Example usage: