Grouped rows

Several people per row, coloured by role (rangeBarGroupRows).

Chart type
Range Bar rangeBar
Tier
Free Core
Collection
Timeline / range bar
Render
Live, site theme
View .md Agent setup
LIVE/timeline/multi-series-group-rows2 of 5 in Timeline

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "rangeBar",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "Chair",
      data: [
        {
          x: "Board",
          y: [1388534400000, 1546300800000]
        },
        {
          x: "Board",
          y: [1546300800000, 1767225600000]
        }
      ]
    },
    {
      name: "Treasurer",
      data: [
        {
          x: "Finance",
          y: [1420070400000, 1609459200000]
        },
        {
          x: "Finance",
          y: [1609459200000, 1767225600000]
        }
      ]
    },
    {
      name: "Secretary",
      data: [
        {
          x: "Office",
          y: [1388534400000, 1483228800000]
        },
        {
          x: "Office",
          y: [1483228800000, 1672531200000]
        },
        {
          x: "Office",
          y: [1672531200000, 1767225600000]
        }
      ]
    }
  ],
  plotOptions: {
    bar: {
      horizontal: true,
      barHeight: "50%",
      rangeBarGroupRows: true
    }
  },
  xaxis: {
    type: "datetime"
  },
  fill: {
    type: "solid"
  },
  legend: {
    position: "right"
  },
  title: {
    text: "Association roles over the years"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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