ScatterChartController constructor

ScatterChartController({
  1. int maxVisibleCount = 100,
  2. bool autoScaleMinMaxEnabled = true,
  3. bool doubleTapToZoomEnabled = true,
  4. bool highlightPerDragEnabled = true,
  5. bool dragXEnabled = true,
  6. bool dragYEnabled = true,
  7. bool scaleXEnabled = true,
  8. bool scaleYEnabled = true,
  9. bool drawGridBackground = false,
  10. bool drawBorders = false,
  11. bool clipValuesToContent = false,
  12. double minOffset = 30.0,
  13. OnDrawListener? drawListener,
  14. YAxis? axisLeft,
  15. YAxis? axisRight,
  16. YAxisRenderer? axisRendererLeft,
  17. YAxisRenderer? axisRendererRight,
  18. Transformer? leftAxisTransformer,
  19. Transformer? rightAxisTransformer,
  20. XAxisRenderer? xAxisRenderer,
  21. bool customViewPortEnabled = false,
  22. Matrix4? zoomMatrixBuffer,
  23. bool pinchZoomEnabled = true,
  24. bool keepPositionOnRotation = false,
  25. Paint? gridBackgroundPaint,
  26. Paint? borderPaint,
  27. Color? backgroundColor,
  28. Color? gridBackColor,
  29. Color? borderColor,
  30. double borderStrokeWidth = 1.0,
  31. AxisLeftSettingFunction? axisLeftSettingFunction,
  32. AxisRightSettingFunction? axisRightSettingFunction,
  33. OnTouchEventListener? touchEventListener,
  34. IMarker? marker,
  35. Description? description,
  36. String noDataText = "No chart data available.",
  37. XAxisSettingFunction? xAxisSettingFunction,
  38. LegendSettingFunction? legendSettingFunction,
  39. DataRendererSettingFunction? rendererSettingFunction,
  40. OnChartValueSelectedListener? selectionListener,
  41. double maxHighlightDistance = 100.0,
  42. bool highLightPerTapEnabled = true,
  43. double extraTopOffset = 0.0,
  44. double extraRightOffset = 0.0,
  45. double extraBottomOffset = 0.0,
  46. double extraLeftOffset = 0.0,
  47. bool drawMarkers = true,
  48. bool resolveGestureHorizontalConflict = false,
  49. bool resolveGestureVerticalConflict = false,
  50. double descTextSize = 12,
  51. double infoTextSize = 12,
  52. Color? descTextColor,
  53. Color? infoTextColor,
  54. Color? infoBgColor,
  55. ChartTransListener? chartTransListener,
})

Implementation

ScatterChartController({
  int maxVisibleCount = 100,
  bool autoScaleMinMaxEnabled = true,
  bool doubleTapToZoomEnabled = true,
  bool highlightPerDragEnabled = true,
  bool dragXEnabled = true,
  bool dragYEnabled = true,
  bool scaleXEnabled = true,
  bool scaleYEnabled = true,
  bool drawGridBackground = false,
  bool drawBorders = false,
  bool clipValuesToContent = false,
  double minOffset = 30.0,
  OnDrawListener? drawListener,
  YAxis? axisLeft,
  YAxis? axisRight,
  YAxisRenderer? axisRendererLeft,
  YAxisRenderer? axisRendererRight,
  Transformer? leftAxisTransformer,
  Transformer? rightAxisTransformer,
  XAxisRenderer? xAxisRenderer,
  bool customViewPortEnabled = false,
  Matrix4? zoomMatrixBuffer,
  bool pinchZoomEnabled = true,
  bool keepPositionOnRotation = false,
  Paint? gridBackgroundPaint,
  Paint? borderPaint,
  Color? backgroundColor,
  Color? gridBackColor,
  Color? borderColor,
  double borderStrokeWidth = 1.0,
  AxisLeftSettingFunction? axisLeftSettingFunction,
  AxisRightSettingFunction? axisRightSettingFunction,
  OnTouchEventListener? touchEventListener,
  IMarker? marker,
  Description? description,
  String noDataText = "No chart data available.",
  XAxisSettingFunction? xAxisSettingFunction,
  LegendSettingFunction? legendSettingFunction,
  DataRendererSettingFunction? rendererSettingFunction,
  OnChartValueSelectedListener? selectionListener,
  double maxHighlightDistance = 100.0,
  bool highLightPerTapEnabled = true,
  double extraTopOffset = 0.0,
  double extraRightOffset = 0.0,
  double extraBottomOffset = 0.0,
  double extraLeftOffset = 0.0,
  bool drawMarkers = true,
  bool resolveGestureHorizontalConflict = false,
  bool resolveGestureVerticalConflict = false,
  double descTextSize = 12,
  double infoTextSize = 12,
  Color? descTextColor,
  Color? infoTextColor,
  Color? infoBgColor,
  ChartTransListener? chartTransListener,
}) : super(
          marker: marker,
          description: description,
          noDataText: noDataText,
          xAxisSettingFunction: xAxisSettingFunction,
          legendSettingFunction: legendSettingFunction,
          rendererSettingFunction: rendererSettingFunction,
          selectionListener: selectionListener,
          maxHighlightDistance: maxHighlightDistance,
          highLightPerTapEnabled: highLightPerTapEnabled,
          extraTopOffset: extraTopOffset,
          extraRightOffset: extraRightOffset,
          extraBottomOffset: extraBottomOffset,
          extraLeftOffset: extraLeftOffset,
          drawMarkers: drawMarkers,
          resolveGestureHorizontalConflict: resolveGestureHorizontalConflict,
          resolveGestureVerticalConflict: resolveGestureVerticalConflict,
          descTextSize: descTextSize,
          infoTextSize: infoTextSize,
          descTextColor: descTextColor,
          infoTextColor: infoTextColor,
          infoBgColor: infoBgColor,
          maxVisibleCount: maxVisibleCount,
          autoScaleMinMaxEnabled: autoScaleMinMaxEnabled,
          doubleTapToZoomEnabled: doubleTapToZoomEnabled,
          highlightPerDragEnabled: highlightPerDragEnabled,
          dragXEnabled: dragXEnabled,
          dragYEnabled: dragYEnabled,
          scaleXEnabled: scaleXEnabled,
          scaleYEnabled: scaleYEnabled,
          drawGridBackground: drawGridBackground,
          drawBorders: drawBorders,
          clipValuesToContent: clipValuesToContent,
          minOffset: minOffset,
          drawListener: drawListener,
          axisLeft: axisLeft,
          axisRight: axisRight,
          axisRendererLeft: axisRendererLeft,
          axisRendererRight: axisRendererRight,
          leftAxisTransformer: leftAxisTransformer,
          rightAxisTransformer: rightAxisTransformer,
          xAxisRenderer: xAxisRenderer,
          customViewPortEnabled: customViewPortEnabled,
          zoomMatrixBuffer: zoomMatrixBuffer,
          pinchZoomEnabled: pinchZoomEnabled,
          keepPositionOnRotation: keepPositionOnRotation,
          gridBackgroundPaint: gridBackgroundPaint,
          borderPaint: borderPaint,
          backgroundColor: backgroundColor,
          gridBackColor: gridBackColor,
          borderColor: borderColor,
          borderStrokeWidth: borderStrokeWidth,
          axisLeftSettingFunction: axisLeftSettingFunction,
          axisRightSettingFunction: axisRightSettingFunction,
          touchEventListener: touchEventListener,
          chartTransListener: chartTransListener);