ChartWidget constructor

const ChartWidget({
  1. Key? key,
  2. required ChartConfig config,
  3. required List<ChartRenderer> renderers,
  4. ChartTheme? theme,
  5. ChartWidgetController? controller,
  6. bool enableTooltip = true,
  7. bool enableZoomPan = true,
  8. bool enableCrosshair = true,
  9. void onSelection(
    1. 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,
});