DynamicTimeSeriesConfig constructor
DynamicTimeSeriesConfig({
- int windowSize = 60,
- Duration updateInterval = const Duration(milliseconds: 500),
- double dataGenerator()?,
- ChartTheme theme = ChartTheme.light,
- TitlesData? title,
- ChartTooltip? tooltip,
- ChartLegend? legend,
- ChartToolbox? toolbox,
- GridData? grid,
Implementation
DynamicTimeSeriesConfig({
this.windowSize = 60,
this.updateInterval = const Duration(milliseconds: 500),
this.dataGenerator,
this.theme = ChartTheme.light,
super.title,
super.tooltip,
super.legend,
super.toolbox,
super.grid,
}) : super(type: ChartType.dynamicTimeSeries, series: const []);