ibcs-react
Components

ComboChart

A combined column + line chart - primary scenario columns plus a secondary measure line on a right-hand axis.

Scenario columns on the left axis with a second, differently-scaled measure drawn against a right-hand axis - and the column variance underneath.

When to use

Two related measures with different units on one chart - e.g. revenue (€, columns) and margin (%, line).

Example

Revenue (€)Margin (%)02M4M6M051015204.2MQ14.9MQ25.3MQ36.1MQ418.42119.622.3
Combination chart data table
ACPYMargin (%)
Q14.2M3.8M18.4
Q24.9M4.5M21
Q35.3M5.1M19.6
Q46.1M5.4M22.3
import { ComboChart } from "ibcs-react";

<ComboChart
  data={[{ category: "Q1", AC: 4.2e6, PY: 3.8e6 } /* … */]}
  secondary={[{ category: "Q1", value: 18.4 } /* … */]}
  primaryLabel="Revenue (€)"
  secondaryLabel="Margin (%)"
/>;

Two axes only earn their keep when the two measures are genuinely related and carry different units - always label both, and format the secondary series in its own unit via secondaryFormat. If the units match, one axis is the honest choice.

Props

Prop

Type

ibcs-react is an independent open-source library and is not affiliated with, certified by, or endorsed by the IBCS Association or ISO. It follows the IBCS® notation rules (the basis of ISO 24896); IBCS® is a registered trademark of the IBCS Association.

On this page