ValyroUI English version

Funnel Chart

Воронки конверсии. Pro · Графики и аналитика › Доли и структура

Установка

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

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

Пропсы

PropTypeDefault
data *FunnelStage[]Stages top to bottom; bar widths are relative to the largest value, conversion to the first and previous stage.
colorstring'var(--ui-chart-1)'Any CSS color. Default --ui-chart-1.
align'start' | 'center''start'start: bars line up next to the stage labels. center: a symmetric funnel shape. Default start.
valueFormatterValueFormatterFormats stage values, drop-offs between stages, the summary and the data table.
localestringBCP 47 locale for the default number formatting. Default: the ThemeProvider locale, then the browser's.
labelsPartial<FunnelChartLabels>Overrides for the built-in strings.
ariaLabel *stringAccessible name of the chart (also the caption of its sr-only data table).

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

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

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