Optional animationsConvenience flag that can be used to enable/disable all animations in a component.
Optional Readonly cursorBuilder for the charts' auto cursor.
For most use cases, it is not recommended to use this, but rather setCursor for a more convenient API.
Optional Readonly typeSpecify orientation of bar chart (vertical or horizontal).
// Example usage
const chart = lightningChart().BarChart({ type: BarChartTypes.Horizontal })
Optional Readonly valueInterface for supplying read-only configurations for the Value Axis. These can only be specified when the chart is created. See BarChartValueAxisOptions for more information.
Interface for readonly configuration of BarChart.
Some properties of
BarChartcan 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
BarChart, more parameters are documented in BarChart.For dashboard
BarChart, more parameters are documented in createBarChart.Commonly used properties:
Example usage: