ChartDimensionsCoordinateRender constructor

ChartDimensionsCoordinateRender({
  1. EdgeInsets margin = const EdgeInsets.only(left: 30, top: 0, right: 0, bottom: 25),
  2. EdgeInsets padding = const EdgeInsets.only(left: 30, top: 0, right: 0, bottom: 0),
  3. required List<ChartBodyRender> charts,
  4. required List<YAxis> yAxis,
  5. required XAxis xAxis,
  6. List<Annotation>? backgroundAnnotations,
  7. List<Annotation>? foregroundAnnotations,
  8. double? minZoom,
  9. double? maxZoom,
  10. EdgeInsets? safeArea,
  11. bool outDraw = false,
  12. Duration? animationDuration,
  13. TooltipWidgetBuilder? tooltipBuilder,
  14. 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);