[data-reveal]{opacity:1!important;transform:none!important}
AntelopeJS DMS
DocumentationRadial bar chart

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, such as onboarding steps or quotas. Set showTotal to label the middle with the chart's title and total.

Radial Bar Chart ChartRadialBar
Connecting to the DMS preview…
Connecting DMS 0.25.8 6 options set

Usage

src/pages/dashboard.ts 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
title Contentstring–
description Contentstring–
color Appearancestring | string[]–
height Appearancestring–
width Appearancenumber–
showTooltip Appearancebooleantrue
showLegend Appearancebooleantrue
legendPosition Appearance"top" | "bottom"–
hollowSize Appearancestring–
showTotal Appearanceboolean–

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.