# 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: 10/28/2024, 1:36:05 PM