Interface: IndicatorTraceGauge
The gauge (mode with gauge).
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
axis? | IndicatorTraceGaugeAxis | undefined | The gauge axis: its range, ticks and tick labels. |
bar? | IndicatorTraceGaugeBar | undefined | The bar from the start of the axis to the value. Default thickness 0.5 (0.25 on a bullet gauge) of the gauge's. |
bgcolor? | string | undefined | Gauge background color. Default: layout.paper_bgcolor. |
bordercolor? | string | "#444" | Color of the gauge outline. |
borderwidth? | number | 1 | Width of the gauge outline in CSS px. Minimum: 0 |
shape? | "angular" | "bullet" | "angular" | Gauge shape: angular (a half ring with the number in its middle) or bullet (a horizontal bar, the number to its right). |
steps? | readonly IndicatorTraceGaugeStep[] | undefined | Colored bands of the gauge (ranges such as "good" / "bad"), drawn under the value bar. |
threshold? | IndicatorTraceGaugeThreshold | undefined | A line marking a threshold value on the gauge. |