Docs
📊 ⏐ Charts
Meter

Meter

Meter charts in REAVIZ are effective tools for visualizing a single value within a predefined range. They provide a clear and intuitive way to display metrics, making them ideal for dashboards and performance tracking. Whether you're showing progress towards a goal or tracking a specific metric, REAVIZ's Meter charts offer a straightforward and visually appealing solution.

Where to use:

  • Display Single Values: Perfect for showing a specific value within a defined range.
  • Track Performance: Useful for tracking performance metrics against a target.
  • Show Progress: Great for visualizing progress towards a goal.

Quick Start

To create a meter, use import the Meter and give it value point.

Examples

API

Meter (opens in a new tab)

PropDescriptionDefault
valueThe value of the meter.
number
minThe minimum value of the meter.
number
0
maxThe maximum value of the meter.
number
100
columnsThe number of columns to display.
number
10
classNameAdditional class names to apply.
string
gapThe gap between columns.
number
15
styleAdditional styles to apply.
CSSProperties
{}
columnThe column to render.
ReactElement<MeterColumnProps, FC<Partial<MeterColumnProps>>>
<MeterColumn />

MeterColumn (opens in a new tab)

PropDescriptionDefault
valueThe value of the meter.
number
heightThe height of the column.
number
32
indexThe index of the column.
number
scaleThe scale to use.
any
activeFillThe active fill color.
string
schemes.cybertron[0]
inActiveFillThe inactive fill color.
string
#414242
classNameAdditional class names to apply.
string
countThe total number of columns. Set internally.
number
animatedWhether to animate the column.
boolean
true