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

Column chart

Vertical columns comparing periods or categories, stacked or grouped.

ChartColumn draws vertical columns. Use it to compare periods (orders per month) or a handful of categories, with stacked: true to show their composition.

Column Chart ChartColumn
Connecting to the DMS preview…
Connecting DMS 0.25.8 5 options set

Usage

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

static orders = ChartColumn({
  title: "$shop.orders.per_month",
  fetchUrl: "/api/shop/orders-per-month",
  columnWidth: 60,
});

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 Column Chart block
OptionTypeDefaultDescription
title Contentstring–
description Contentstring–
color Appearancestring | string[]–
height Appearancestring–
width Appearancenumber–
showTooltip Appearancebooleantrue
showLegend Appearancebooleantrue
legendPosition Appearance"top" | "bottom"–
showGrid Appearancebooleantrue
yRange.min* Appearancenumber–
yRange.max* Appearancenumber–
comparisonStyle Appearance"dashed" | "solid" | "dimmed"–
smooth Appearancebooleantrue
curve Appearance"smooth" | "straight" | "stepline"–
xaxisType Appearance"category" | "datetime" | "numeric"–
stacked Appearanceboolean–
columnWidth Appearancenumber–
roundedCorners Appearancebooleantrue

Recipes

Months or days on a datetime axis

With xaxisType: "datetime", a series whose points fall on the first of each month, or on whole days, draws one column per month (or day), evenly spaced, under a single label: Aug '26, or xAxis.datetimeFormat when set ("MMM"). A month the route leaves out keeps its empty slot, stacked or not, and the tooltip names the whole month. A date is a day when it is a date-only string ("2026-10-01") or a midnight, the browser's or UTC's ("2026-10-01T00:00:00Z"). Weekly or quarterly points, and points with a time of day, keep the time-scaled axis.

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

ChartColumn({ stacked: true, xaxisType: "datetime", fetchUrl: "/api/revenue/by-plan" });
// series: [{ name: "Pro", data: [{ x: "2026-08-01", y: 4200 }, { x: "2026-09-01", y: 4800 }] }, …]

Columns with a target

Add annotations: [{ y: 1200, label: "Target" }] to draw the goal across the columns.

Next steps

Charts

Colors, annotations, events and the other chart types.

Chart card

Frame the chart with its headline value.