ValyroUI English version

Radar Chart

Лепестковые диаграммы для сравнения профилей. Pro · Графики и аналитика › Доли и структура

Установка

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

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

Пропсы

PropTypeDefault
data *T[]One row per axis (3–12 read well).
axis *AField naming each axis.
series *ChartSeries<T>[]One filled polygon per series.
maxnumberValue at the outer ring. Default: a nice number above the largest value.
levelsnumber4Number of grid rings. Default 4.
gridShape'polygon' | 'circle'Default: the theme's --ui-radar-chart-grid (polygon in Vercel, circle in Glass).
heightnumber320Chart height in px; the radar is centred in the container width. Default 320.
valueFormatterValueFormatterFormats values in the tooltip and table; ring labels use compact numbers by default.
localestringBCP 47 locale for the default number formatting. Default: the ThemeProvider locale, then the browser's.
axisLabelstringHeader of the axis column in the accessible data table. Default: the axis key.
labelsPartial<RadarChartLabels>Overrides for the built-in strings.
showLegendbooleanDefault: shown when there is more than one series. Click an item to hide its series.
loadingbooleanfalseShows a placeholder of the same height while data loads.
ariaLabel *stringAccessible name of the chart (also the caption of its sr-only data table).

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

  • Donut Chart — Кольцевые диаграммы
  • Treemap — Иерархии площадями с переходом по уровням
  • Funnel Chart — Воронки конверсии
  • Sankey Chart — Диаграммы потоков между этапами
  • Line Chart — Линейные графики
  • Bar Chart — Столбчатые диаграммы
  • Area Chart — Графики с заливкой
  • Scatter Chart — Точечные и пузырьковые диаграммы с линией тренда
  • Sparkline — Мини-графики
  • Confidence Band Chart — Прогноз с доверительными интервалами и выбросами, точки читаются с клавиатуры
  • Candlestick Chart — Биржевые свечи с объёмами и скользящими средними
  • Heatmap — Тепловые карты

Назад: Sankey Chart · Далее: Heatmap · Весь раздел «Графики и аналитика»