Type Alias: IndicatorTrace
ts
type IndicatorTrace = CommonTraceAttributes & DomainTraceAttributes & object;A single value as a big number, its delta to a reference, and / or a gauge (angular or bullet) with colored steps and a threshold.
Type Declaration
| Name | Type | Description |
|---|---|---|
align? | "left" | "center" | "right" | Horizontal alignment of the number and delta in the domain. No effect with an angular gauge, where they are always centered. Default center. |
delta? | IndicatorTraceDelta | The delta (mode with delta). |
gauge? | IndicatorTraceGauge | The gauge (mode with gauge). |
mode? | | "number" | "delta" | "gauge" | "number+delta" | "number+gauge" | "delta+number" | "delta+gauge" | "gauge+number" | "gauge+delta" | "number+delta+gauge" | "number+gauge+delta" | "delta+number+gauge" | "delta+gauge+number" | "gauge+number+delta" | "gauge+delta+number" | What shows the value: number (the value as text), delta (its difference to delta.reference as text) and / or gauge (the value on an angular or bullet gauge). |
number? | IndicatorTraceNumber | The number (mode with number). |
title? | IndicatorTraceTitle | The indicator title. |
type | "indicator" | Trace type. |
value? | number | The value to show. Transitions (layout.transition, animate) count the number up and move the gauge bar. |