Actual vs forecast
Actuals solid, forecast dashed from the last actual, plan line and uncertainty band.
Cumulative month-to-date actual against plan with a run-rate projection.
<PacingChart />Pacing chart is a Pro chart.
Installation is part of Pro
The full source is included in the Pro download. Get Pro to install it with the CLI and use it in unlimited projects.
Unlock with Pronpx chartslibraryui add pacing-chart --from ./chartslibraryui-proUsage examples are part of Pro
Every example on this page comes with its code in the Pro download. The props and data shape below are public.
Unlock with ProOne row per day of the period with cumulative actual (null in the future) and cumulative plan.
[{ day: "1", actual: 74000, plan: 80000 }, ...]Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data
Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API
export interface PacingChartProps extends FrameProps {
/** One row per day (or period) of the full period, future rows with a null actual. */
data: Row[];
x: string;
/** Cumulative actual to date. */
actual: string;
/** Cumulative plan for the full period. */
plan: string;
format?: FormatInput;
/** How to project the rest of the period. "run-rate" (default) extends the average daily pace to date. */
projection?: "run-rate" | "none";
actualLabel?: string;
planLabel?: string;
}Actuals solid, forecast dashed from the last actual, plan line and uncertainty band.
KPIs against targets and qualitative ranges: the compact replacement for gauges.