# 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: 5/25/2022, 2:06:57 PM