BaseChart<D> constructor

const BaseChart<D>(
  1. List<Series<dynamic, D>> seriesList, {
  2. bool? animate,
  3. Duration? animationDuration,
  4. SeriesRendererConfig<D>? defaultRenderer,
  5. List<SeriesRendererConfig<D>>? customSeriesRenderers,
  6. List<ChartBehavior<D>>? behaviors,
  7. List<SelectionModelConfig<D>>? selectionModels,
  8. RTLSpec? rtlSpec,
  9. bool defaultInteractions = true,
  10. LayoutConfig? layoutConfig,
  11. 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);