[data-reveal]{opacity:1!important;transform:none!important}
Radial bar chart
Components

Radial bar chart

Progress of a few measures towards 100 %, as concentric rings.

ChartRadialBar draws each record as a ring filled to its value, in percent. Use it for the progress of a few measures towards a goal — onboarding steps, quotas — with showTotal to label the middle with the chart's title and total.

Radial Bar ChartChartRadialBar
Connecting to the DMS preview…
ConnectingDMS 0.9.56 options set

Usage

src/pages/dashboard.ts
import { ChartRadialBar } from "@antelopejs/interface-dms/base/chart";

static onboarding = ChartRadialBar({
  title: "$app.onboarding.completion",
  fetchUrl: "/api/onboarding/completion",
  showTotal: true,
});

The route answers { series } in the shape listed under Data shapes. Wrap the chart in a ChartCard to add a headline value and a comparison.

Options

Options of the Radial Bar Chart block
OptionTypeDefaultDescription
titleContentstring–
descriptionContentstring–
colorAppearancestring | string[]–
heightAppearancestring–
widthAppearancenumber–
showTooltipAppearancebooleantrue
showLegendAppearancebooleantrue
legendPositionAppearance"top" | "bottom"–
hollowSizeAppearancestring–
showTotalAppearanceboolean–

Recipes

One measure

A single record makes a gauge: one ring and its value in the middle.

Next steps

Charts

Colors, annotations, events and the other chart types.

Chart card

Frame the chart with its headline value.