ChartWidget constructor
const
ChartWidget({
- Key? key,
- required ChartConfig config,
- required List<
ChartRenderer> renderers, - ChartTheme? theme,
- ChartWidgetController? controller,
- bool enableTooltip = true,
- bool enableZoomPan = true,
- bool enableCrosshair = true,
- void onSelection(
- ChartHitResult hit
Implementation
const ChartWidget({
super.key,
required this.config,
required this.renderers,
this.theme,
this.controller,
this.enableTooltip = true,
this.enableZoomPan = true,
this.enableCrosshair = true,
this.onSelection,
});