ZoomableTenunChart constructor
const
ZoomableTenunChart({
- Key? key,
- BaseChartConfig? config,
- ChartDrillDownController? drillController,
- double? width,
- double? height,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- ZoomConstraints zoomConstraints = const ZoomConstraints(),
- bool showMinimap = false,
- bool showResetButton = true,
- bool showBreadcrumbs = true,
- double minimapHeight = 28,
- void onTap(
- double fraction,
- ChartZoomController zoom
- void onCrosshairMove(
- double fraction
- void onCrosshairEnd()?,
- void onDoubleTap(
- double fraction,
- ChartZoomController zoom
- ChartZoomController? zoomController,
Implementation
const ZoomableTenunChart({
super.key,
this.config,
this.drillController,
this.width,
this.height,
this.padding = EdgeInsets.zero,
this.zoomConstraints = const ZoomConstraints(),
this.showMinimap = false,
this.showResetButton = true,
this.showBreadcrumbs = true,
this.minimapHeight = 28,
this.onTap,
this.onCrosshairMove,
this.onCrosshairEnd,
this.onDoubleTap,
this.zoomController,
}) : assert(
config != null || drillController != null,
'Provide either config or drillController',
);