GaugeChart
A Gauge Chart is a circular chart that displays information on a numeric scale. It's great for showing performance metrics or progress towards a goal.
Import
import { GaugeChart } from '@dynatrace/strato-components-preview/charts';
Use cases
The GaugeChart expects a numerical value as an input. This value needs to be
passed to the visualization's value prop as a Number.
You can also provide custom min and max props to set the scale of the
GaugeChart, and if none are provided, the default min will be 0 and max
will be 100.
Learn more about the data format here.
Change the chart color/s
The GaugeChart provides several ways to customize the appearance of your
gauge:
- Direct Color Assignment: Set a single color for the entire gauge arc.
- Color Rules: Apply conditional coloring based on the gauge's value.