ChartDimensionsCoordinateRender constructor
ChartDimensionsCoordinateRender({
- EdgeInsets margin = const EdgeInsets.only(left: 30, top: 0, right: 0, bottom: 25),
- EdgeInsets padding = const EdgeInsets.only(left: 30, top: 0, right: 0, bottom: 0),
- required List<
ChartBodyRender> charts, - required List<
YAxis> yAxis, - required XAxis xAxis,
- List<
Annotation> ? backgroundAnnotations, - List<
Annotation> ? foregroundAnnotations, - double? minZoom,
- double? maxZoom,
- EdgeInsets? safeArea,
- bool outDraw = false,
- Duration? animationDuration,
- TooltipWidgetBuilder? tooltipBuilder,
- CrossHairStyle crossHair = const CrossHairStyle(),
Implementation
ChartDimensionsCoordinateRender({
super.margin = const EdgeInsets.only(left: 30, top: 0, right: 0, bottom: 25),
super.padding = const EdgeInsets.only(left: 30, top: 0, right: 0, bottom: 0),
required super.charts,
required this.yAxis,
required this.xAxis,
super.backgroundAnnotations,
super.foregroundAnnotations,
super.minZoom,
super.maxZoom,
super.safeArea,
super.outDraw,
super.animationDuration,
super.tooltipBuilder,
this.crossHair = const CrossHairStyle(),
}) : assert(yAxis.isNotEmpty);