InteractiveChart constructor

const InteractiveChart({
  1. Key? key,
  2. required ChartType type,
  3. required List data,
  4. required Map<String, dynamic> style,
  5. required double width,
  6. required double height,
  7. required double scale,
  8. required bool enableZoom,
  9. required bool enablePan,
  10. required bool enableSelection,
  11. dynamic onDataPointTap(
    1. dynamic
    )?,
})

Implementation

const InteractiveChart({
  super.key,
  required this.type,
  required this.data,
  required this.style,
  required this.width,
  required this.height,
  required this.scale,
  required this.enableZoom,
  required this.enablePan,
  required this.enableSelection,
  this.onDataPointTap,
});