BaseChart<D> constructor

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

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);