Interface that can be used to define LinearGaugeChart configurations, when inside a Dashboard, that can't be changed after creation.

Hierarchy

Properties

animationsEnabled?: boolean

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

columnIndex: number

Column index on dashboard (X location, 0 = left)

columnSpan?: number

Column span (X width), default = 1

legend?: LegendOptions & {
    customLegend?: LegendLogic;
}

Configuration for the chart legend.

orientation: "horizontal" | "vertical"

Chart orientation (horizontal or vertical).

 // Example usage
const chart = lc.LinearGauge({ orientation: 'horizontal' })

Defaults to vertical

rowIndex: number

Row index on dashboard (Y location, 0 = top)

rowSpan?: number

Row span (Y height), default = 1