BarChart constructor

BarChart(
  1. List<Series<dynamic, String>> seriesList, {
  2. bool? animate,
  3. Duration? animationDuration,
  4. AxisSpec? domainAxis,
  5. NumericAxisSpec? primaryMeasureAxis,
  6. NumericAxisSpec? secondaryMeasureAxis,
  7. LinkedHashMap<String, NumericAxisSpec>? disjointMeasureAxes,
  8. BarGroupingType? barGroupingType,
  9. BarRendererConfig<String>? defaultRenderer,
  10. List<SeriesRendererConfig<String>>? customSeriesRenderers,
  11. List<ChartBehavior<String>>? behaviors,
  12. List<SelectionModelConfig<String>>? selectionModels,
  13. RTLSpec? rtlSpec,
  14. bool vertical = true,
  15. bool defaultInteractions = true,
  16. LayoutConfig? layoutConfig,
  17. UserManagedState<String>? userManagedState,
  18. BarRendererDecorator<String>? barRendererDecorator,
  19. bool? flipVerticalAxis,
})

Implementation

BarChart(
  List<common.Series<dynamic, String>> seriesList, {
  bool? animate,
  Duration? animationDuration,
  common.AxisSpec? domainAxis,
  common.NumericAxisSpec? primaryMeasureAxis,
  common.NumericAxisSpec? secondaryMeasureAxis,
  LinkedHashMap<String, common.NumericAxisSpec>? disjointMeasureAxes,
  common.BarGroupingType? barGroupingType,
  common.BarRendererConfig<String>? defaultRenderer,
  List<common.SeriesRendererConfig<String>>? customSeriesRenderers,
  List<ChartBehavior<String>>? behaviors,
  List<SelectionModelConfig<String>>? selectionModels,
  common.RTLSpec? rtlSpec,
  this.vertical = true,
  bool defaultInteractions = true,
  LayoutConfig? layoutConfig,
  UserManagedState<String>? userManagedState,
  this.barRendererDecorator,
  bool? flipVerticalAxis,
}) : super(
        seriesList,
        animate: animate,
        animationDuration: animationDuration,
        domainAxis: domainAxis,
        primaryMeasureAxis: primaryMeasureAxis,
        secondaryMeasureAxis: secondaryMeasureAxis,
        disjointMeasureAxes: disjointMeasureAxes,
        defaultRenderer: defaultRenderer ??
            new common.BarRendererConfig<String>(
                groupingType: barGroupingType,
                barRendererDecorator: barRendererDecorator),
        customSeriesRenderers: customSeriesRenderers,
        behaviors: behaviors,
        selectionModels: selectionModels,
        rtlSpec: rtlSpec,
        defaultInteractions: defaultInteractions,
        layoutConfig: layoutConfig,
        userManagedState: userManagedState,
        flipVerticalAxis: flipVerticalAxis,
      );