Range column

Floating min–max columns of daily temperatures.

Chart type
Range Bar rangeBar
Tier
Free Core
Collection
Column
Render
Live, site theme
View .md Agent setup
LIVE/column/range-column9 of 15 in Column

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: "Range",
      data: [
        {
          x: "Mon",
          y: [11, 17]
        },
        {
          x: "Tue",
          y: [8, 17]
        },
        {
          x: "Wed",
          y: [11, 22]
        },
        {
          x: "Thu",
          y: [4, 10]
        },
        {
          x: "Fri",
          y: [6, 16]
        },
        {
          x: "Sat",
          y: [5, 15]
        },
        {
          x: "Sun",
          y: [6, 18]
        }
      ]
    }
  ],
  plotOptions: {
    bar: {
      horizontal: false,
      columnWidth: "42%",
      borderRadius: 4
    }
  },
  dataLabels: {
    enabled: true,
    formatter: (v) => v + '°'
  },
  yaxis: {
    labels: {
      formatter: (v) => v + '°'
    }
  },
  title: {
    text: "Daily low and high, this week"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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