Optional
borderFunction that returns the legend item's color.
The item color.
The legend item.
Index of the legend item.
Optional
getFunction that returns the legend item's label.
The item label.
The legend item.
Index of the legend item.
Optional
getFunction that returns whether or not to show an indicator of the current value.
Whether or not to show the indicator.
The legend item.
Index of the legend item.
Optional
getFunction that returns the legend item's sublabel.
The item sublabel.
The legend item.
Index of the legend item.
Optional
heightHeight of the thermometer.
265 (vertical orientation)
20 (horizontal orientation)
Array of legend items, containing properties about each section of the legend.
Orientation of the legend.
Optional
showShow the labels of each legend item.
true
Optional
widthWidth of the thermometer.
12 (vertical orientation)
300 (horizontal orientation)
Generated using TypeDoc
Border radius of the thermometer.
Default
6 (vertical orientation)
Default
10 (horizontal orientation)