Grouped stacked column

Budget and actual stacks side by side per quarter.

Chart type
Bar bar
Tier
Free Core
Collection
Column
Render
Live, site theme
View .md Agent setup
LIVE/column/grouped-stacked-column10 of 15 in Column

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "bar",
    stacked: true,
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Budget · People",
      group: "budget",
      data: [51, 57, 52, 55]
    },
    {
      name: "Budget · Tools",
      group: "budget",
      data: [18, 20, 18, 19]
    },
    {
      name: "Actual · People",
      group: "actual",
      data: [57, 45, 61, 41]
    },
    {
      name: "Actual · Tools",
      group: "actual",
      data: [20, 21, 22, 10]
    }
  ],
  xaxis: {
    categories: ["Q1", "Q2", "Q3", "Q4"]
  },
  colors: ["#2563eb", "#93c5fd", "#0d9488", "#5eead4"],
  plotOptions: {
    bar: {
      columnWidth: "60%"
    }
  },
  dataLabels: {
    enabled: false
  },
  title: {
    text: "Budget vs actual (k€)"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()