Multi group

Three periods with two highlighted regions.

Chart type
Slope slope
Tier
Free Core
Collection
Slope
Render
Live, site theme
View .md Agent setup
LIVE/slope/multi-group2 of 2 in Slope

Configuration

Raw Standalone
const options = {
  chart: {
    height: 420,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "slope",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "North",
      data: [101, 101, 95]
    },
    {
      name: "South",
      data: [97, 99, 97]
    },
    {
      name: "East",
      data: [106, 104, 101]
    },
    {
      name: "West",
      data: [105, 101, 108]
    },
    {
      name: "Central",
      data: [107, 115, 116]
    },
    {
      name: "Central",
      data: [93, 86, 93]
    },
    {
      name: "Islands",
      data: [108, 101, 95]
    }
  ],
  xaxis: {
    categories: ["2022", "2024", "2026"]
  },
  plotOptions: {
    slope: {
      highlight: ["North", "Islands"]
    }
  },
  title: {
    text: "Revenue index by region"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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