NiceRealtimeChart constructor
const
NiceRealtimeChart({ - Key? key,
- required List<NiceRealtimeSeries> series,
- Future<List<NiceRealtimePoint>> fetchData()?,
- Duration updateInterval = const Duration(seconds: 2),
- int maxPoints = 60,
- double height = 250,
- String? title,
- bool showGrid = true,
- bool showLegend = true,
- String? yAxisLabel,
- double? minY,
- double? maxY,
- bool paused = false,
})
Implementation
const NiceRealtimeChart({
super.key,
required this.series,
this.fetchData,
this.updateInterval = const Duration(seconds: 2),
this.maxPoints = 60,
this.height = 250,
this.title,
this.showGrid = true,
this.showLegend = true,
this.yAxisLabel,
this.minY,
this.maxY,
this.paused = false,
});