Flutter Docs
  • Flutter Docs
  • Charts
    • Chart It
    • Guides
      • Cartesian Charts
        • Chart Structuring
          • Grid Styling
          • Axes Styling
          • Axis Labels
        • Charts
          • Bar Chart
            • BarSeries
            • Bar Groups
              • SimpleBar
              • MultiBar
            • Styling
            • Bar Interactions
              • Snap to Bar
              • Fuzziness
      • Radial Charts
        • Charts
          • Pie & Donut Chart
            • PieSeries
            • SliceData
            • Styling
            • Interactions
      • Animations
      • Interactions
    • API Documentation
Powered by GitBook
On this page
  1. Charts
  2. Guides
  3. Cartesian Charts
  4. Charts
  5. Bar Chart

Bar Groups

Dive into the different types of BarGroups that a BarSeries can display

Jumping back to our previous example, we provided a SimpleBar with a xValue and a yValue BarData to our BarSeries class.

BarGroups are the building blocks of a BarChart. They define how your data will represented as a Bar Rod, and also provides styling options should you choose to customize your individual bars.

Right now, there are two types of BarGroups you can use:

  1. SimpleBar - draws a single bar of height representing the yValue.

  2. MultiBar - draws a group of multiple bars with each bar representing their own yValues.

PreviousBarSeriesNextSimpleBar

Last updated 1 year ago