TimeSeriesChart constructor
TimeSeriesChart(
- List<
Series< seriesList, {dynamic, DateTime> > - bool? animate,
- Duration? animationDuration,
- AxisSpec? domainAxis,
- NumericAxisSpec? primaryMeasureAxis,
- NumericAxisSpec? secondaryMeasureAxis,
- LinkedHashMap<
String, NumericAxisSpec> ? disjointMeasureAxes, - SeriesRendererConfig<
DateTime> ? defaultRenderer, - List<
SeriesRendererConfig< ? customSeriesRenderers,DateTime> > - List<
ChartBehavior< ? behaviors,DateTime> > - List<
SelectionModelConfig< ? selectionModels,DateTime> > - LayoutConfig? layoutConfig,
- DateTimeFactory? dateTimeFactory,
- bool defaultInteractions = true,
- bool? flipVerticalAxis,
- UserManagedState<
DateTime> ? userManagedState,
Create a TimeSeriesChart.
dateTimeFactory
allows specifying a factory that creates DateTime to
be used for the time axis. If none specified, local date time is used.
Implementation
TimeSeriesChart(
List<common.Series<dynamic, DateTime>> seriesList, {
bool? animate,
Duration? animationDuration,
common.AxisSpec? domainAxis,
common.NumericAxisSpec? primaryMeasureAxis,
common.NumericAxisSpec? secondaryMeasureAxis,
LinkedHashMap<String, common.NumericAxisSpec>? disjointMeasureAxes,
common.SeriesRendererConfig<DateTime>? defaultRenderer,
List<common.SeriesRendererConfig<DateTime>>? customSeriesRenderers,
List<ChartBehavior<DateTime>>? behaviors,
List<SelectionModelConfig<DateTime>>? selectionModels,
LayoutConfig? layoutConfig,
this.dateTimeFactory,
bool defaultInteractions = true,
bool? flipVerticalAxis,
UserManagedState<DateTime>? userManagedState,
}) : super(
seriesList,
animate: animate,
animationDuration: animationDuration,
domainAxis: domainAxis,
primaryMeasureAxis: primaryMeasureAxis,
secondaryMeasureAxis: secondaryMeasureAxis,
disjointMeasureAxes: disjointMeasureAxes,
defaultRenderer: defaultRenderer,
customSeriesRenderers: customSeriesRenderers,
behaviors: behaviors,
selectionModels: selectionModels,
layoutConfig: layoutConfig,
defaultInteractions: defaultInteractions,
flipVerticalAxis: flipVerticalAxis,
userManagedState: userManagedState,
);