Variance chart
Actual vs plan per line item: levels and variance side by side, coloured by business direction.
KPIs, cumulative spend vs budget and variance by category in one block.
<BudgetVsActualBoard />Budget vs actual board 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 budget-vs-actual-board --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 ProMonthly rows (actual, budget) and category rows (actual, budget).
monthly: [{ month: "Jan", actual: 312000, budget: 300000 }], categories: [{ category: "Travel", actual: 22100, budget: 30000 }]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 BudgetVsActualBoardProps {
/** Monthly totals: { [period]: "Jan", actual: number | null, budget: number }. */
monthly: Row[];
/** Spend by category for the year to date: { [label]: "Travel", actual, budget }. */
categories: Row[];
period: string;
label: string;
actual?: string;
budget?: string;
format?: FormatInput;
/** Spend: under budget is good (default "down"). Revenue boards should pass "up". */
favorable?: "up" | "down";
title?: string;
}Actual vs plan per line item: levels and variance side by side, coloured by business direction.
Actuals solid, forecast dashed from the last actual, plan line and uncertainty band.
A responsive row of KPI tiles that wraps cleanly.