BaseChart<D> constructor
BaseChart<D> (
- List<
Series< seriesList, {dynamic, D> > - bool? animate,
- Duration? animationDuration,
- SeriesRendererConfig<
D> ? defaultRenderer, - List<
SeriesRendererConfig< ? customSeriesRenderers,D> > - List<
ChartBehavior< ? behaviors,D> > - List<
SelectionModelConfig< ? selectionModels,D> > - RTLSpec? rtlSpec,
- bool defaultInteractions = true,
- LayoutConfig? layoutConfig,
- UserManagedState<
D> ? userManagedState,
Implementation
BaseChart(this.seriesList,
{bool? animate,
Duration? animationDuration,
this.defaultRenderer,
this.customSeriesRenderers,
this.behaviors,
this.selectionModels,
this.rtlSpec,
this.defaultInteractions = true,
this.layoutConfig,
this.userManagedState})
: this.animate = animate ?? true,
this.animationDuration =
animationDuration ?? const Duration(milliseconds: 300);