ChartWidget constructor

const ChartWidget({
  1. Key? key,
  2. required ChartConfig config,
  3. required List<ChartRenderer> renderers,
  4. ChartTheme? theme,
  5. bool enableTooltip = true,
  6. bool enableZoomPan = true,
  7. bool enableCrosshair = true,
  8. void onSelection(
    1. ChartHitResult hit
    )?,
})

Implementation

const ChartWidget({
  super.key,
  required this.config,
  required this.renderers,
  this.theme,
  this.enableTooltip = true,
  this.enableZoomPan = true,
  this.enableCrosshair = true,
  this.onSelection,
});