BaseChart<D> constructor
const
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
const BaseChart(this.seriesList,
{bool? animate,
Duration? animationDuration,
this.defaultRenderer,
this.customSeriesRenderers,
this.behaviors,
this.selectionModels,
this.rtlSpec,
this.defaultInteractions = true,
this.layoutConfig,
this.userManagedState})
: animate = animate ?? true,
animationDuration =
animationDuration ?? const Duration(milliseconds: 300);