Components
Scatter chart
Points placing each item on two measures, with optional labels.
ChartScatter places each point by two measures — deal size against cycle length, response size against latency. Points are drawn at 6 px unless pointSize says otherwise.
ChartScatter Connecting to the DMS preview…
Usage
src/pages/dashboard.ts
import { ChartScatter } from "@antelopejs/interface-dms/base/chart";
static deals = ChartScatter({
title: "$crm.deals.size_vs_cycle",
fetchUrl: "/api/crm/deals/scatter",
xaxisType: "numeric",
showLabels: 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
| Option | Type | Default | Description |
|---|---|---|---|
titleContent | string | – | |
descriptionContent | string | – | |
colorAppearance | string | string[] | – | |
heightAppearance | string | – | |
widthAppearance | number | – | |
showTooltipAppearance | boolean | true | |
showLegendAppearance | boolean | true | |
legendPositionAppearance | "top" | "bottom" | – | |
showGridAppearance | boolean | true | |
yRange.min*Appearance | number | – | |
yRange.max*Appearance | number | – | |
comparisonStyleAppearance | "dashed" | "solid" | "dimmed" | – | |
smoothAppearance | boolean | true | |
curveAppearance | "smooth" | "straight" | "stepline" | – | |
xaxisTypeAppearance | "category" | "datetime" | "numeric" | – | |
pointSizeAppearance | number | – | |
showLabelsAppearance | boolean | – |
Recipes
Label the points
With showLabels, a point's label is what its data label shows; a point without one shows its value.

