# Floating Bars

Using [number, number][] as the type for data to define the beginning and end value for each bar. This is instead of having every bar start at 0.

const config = {
  type: 'bar',
  data: data,
  options: {
    responsive: true,
    plugins: {
      legend: {
        position: 'top',
      },
      title: {
        display: true,
        text: 'Chart.js Floating Bar Chart'
      }
    }
  }
};

# Docs

Last Updated: 8/3/2022, 12:46:38 PM