FluentHorizontalBarChart constructor

const FluentHorizontalBarChart({
  1. Key? key,
  2. required List<FluentChartData> data,
  3. double? barHeight,
  4. bool hideTooltip = false,
  5. FluentChartDataMode chartDataMode = FluentChartDataMode.byDefault,
  6. FluentHorizontalBarChartVariant variant = FluentHorizontalBarChartVariant.partToWhole,
  7. bool hideLabels = false,
  8. bool showTriangle = false,
  9. bool showLegendForSinglePointBar = false,
  10. String? culture,
  11. String? legendsOverflowText,
  12. FluentHorizontalBarChartStyle? style,
})

Creates a horizontal bar chart.

Implementation

const FluentHorizontalBarChart({
  super.key,
  required this.data,
  this.barHeight,
  this.hideTooltip = false,
  this.chartDataMode = FluentChartDataMode.byDefault,
  this.variant = FluentHorizontalBarChartVariant.partToWhole,
  this.hideLabels = false,
  this.showTriangle = false,
  this.showLegendForSinglePointBar = false,
  this.culture,
  this.legendsOverflowText,
  this.style,
});