ValyroUI English version

Gauge Chart

Круговые индикаторы. Pro · Графики и аналитика › Аналитика и сценарии

Установка

npx valyro-cli@latest login
npx valyro-cli@latest add gauge-chart
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { GaugeChart } from 'valyro-ui-pro';

Пропсы

PropTypeDefault
value *numberCurrent reading; the indicator is clamped to min–max, a non-finite value shows as min.
minnumber0Default 0.
maxnumber100Default 100.
bandsGaugeBand[]Threshold bands in ascending order; the value takes the tone of its band.
sweep180 | 270180Semicircle (180) or open ring (270). Default 180.
indicator'arc' | 'needle''arc'arc: progress arc. needle: colored bands with a needle. Default arc.
labelstringCaption under the value.
valueFormatterValueFormatterFormats the center value and the min/max end labels (one decimal by default).
localestringBCP 47 locale for the default number formatting. Default: the ThemeProvider locale, then the browser's.
sizenumber240Max width in px; the gauge scales down in narrow containers. Default 240.
ariaLabel *stringAccessible name of the gauge; the formatted value is appended to it.

Похожие компоненты

  • Metric Comparison — Сравнение показателей
  • Analytics Filter Bar — Фильтры дашборда
  • Scenario Simulator — Ползунки допущений меняют прогноз, коридор неопределённости и KPI
  • Variance Explainer — Водопад: из чего сложилось изменение KPI, с раскрытием факторов
  • Map Layer Story — История по карте: шаги включают слои данных и кадрируют регион, без WebGL
  • Line Chart — Линейные графики
  • Bar Chart — Столбчатые диаграммы
  • Area Chart — Графики с заливкой
  • Scatter Chart — Точечные и пузырьковые диаграммы с линией тренда
  • Sparkline — Мини-графики
  • Confidence Band Chart — Прогноз с доверительными интервалами и выбросами, точки читаются с клавиатуры
  • Candlestick Chart — Биржевые свечи с объёмами и скользящими средними

Назад: Sequence Diagram · Далее: Metric Comparison · Весь раздел «Графики и аналитика»