# 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: 2/28/2024, 4:43:58 PM