Skip to content

Interface: IndicatorTraceNumber ​

The number (mode with number).

Properties ​

PropertyTypeDefault valueDescription
font?IndicatorTraceNumberFontundefinedFont of the number. Defaults to layout.font; without a size, the number (and the delta) scale to fit the domain.
prefix?string""Text before the number.
suffix?string""Text after the number.
valueformat?string""d3-format specifier of the number. Default: rounded like a tick label of an axis from 0 to 1.5 times the value (or the gauge axis).

Released under the MIT License.