BarChart constructor
BarChart(
- List<
Series< seriesList, {dynamic, String> > - bool? animate,
- Duration? animationDuration,
- AxisSpec? domainAxis,
- NumericAxisSpec? primaryMeasureAxis,
- NumericAxisSpec? secondaryMeasureAxis,
- LinkedHashMap<
String, NumericAxisSpec> ? disjointMeasureAxes, - BarGroupingType? barGroupingType,
- BarRendererConfig<
String> ? defaultRenderer, - List<
SeriesRendererConfig< ? customSeriesRenderers,String> > - List<
ChartBehavior< ? behaviors,String> > - List<
SelectionModelConfig< ? selectionModels,String> > - RTLSpec? rtlSpec,
- bool vertical = true,
- bool defaultInteractions = true,
- LayoutConfig? layoutConfig,
- UserManagedState<
String> ? userManagedState, - BarRendererDecorator<
String> ? barRendererDecorator, - 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,
);