Skip to Content

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Β 

NameTypeDefault
valuenumber

The value of the meter.

minnumber

The minimum value of the meter.

0
maxnumber

The maximum value of the meter.

100
columnsnumber

The number of columns to display.

10
classNamestring

Additional class names to apply.

gapnumber

The gap between columns.

15
styleCSSProperties

Additional styles to apply.

columnReactElement<MeterColumnProps, FC<Partial<MeterColumnProps>>> | null

The column to render.

`<MeterColumn />`

MeterColumnΒ 

NameTypeDefault
valuenumber

The value of the meter.

heightnumber

The height of the column.

32
indexnumber

The index of the column.

scaleany

The scale to use.

activeFillstring

The active fill color.

schemes.cybertron[0]
inActiveFillstring

The inactive fill color.

'#414242'
classNamestring

Additional class names to apply.

countnumber

The total number of columns. Set internally.

animatedboolean

Whether to animate the column.

true
Last updated on