LineChartPainter constructor

LineChartPainter(
  1. LineData? data,
  2. Animator? animator,
  3. ViewPortHandler? viewPortHandler,
  4. double? maxHighlightDistance,
  5. bool highLightPerTapEnabled,
  6. double extraLeftOffset,
  7. double extraTopOffset,
  8. double extraRightOffset,
  9. double extraBottomOffset,
  10. IMarker? marker,
  11. Description? desc,
  12. bool drawMarkers,
  13. Color? infoBgColor,
  14. TextPainter? infoPainter,
  15. TextPainter? descPainter,
  16. XAxis? xAxis,
  17. Legend? legend,
  18. LegendRenderer? legendRenderer,
  19. DataRendererSettingFunction? rendererSettingFunction,
  20. OnChartValueSelectedListener? selectedListener,
  21. int maxVisibleCount,
  22. bool autoScaleMinMaxEnabled,
  23. bool pinchZoomEnabled,
  24. bool doubleTapToZoomEnabled,
  25. bool highlightPerDragEnabled,
  26. bool dragXEnabled,
  27. bool dragYEnabled,
  28. bool scaleXEnabled,
  29. bool scaleYEnabled,
  30. Paint? gridBackgroundPaint,
  31. Paint? backgroundPaint,
  32. Paint? borderPaint,
  33. bool drawGridBackground,
  34. bool drawBorders,
  35. bool clipValuesToContent,
  36. double minOffset,
  37. bool keepPositionOnRotation,
  38. OnDrawListener? drawListener,
  39. YAxis? axisLeft,
  40. YAxis? axisRight,
  41. YAxisRenderer? axisRendererLeft,
  42. YAxisRenderer? axisRendererRight,
  43. Transformer? leftAxisTransformer,
  44. Transformer? rightAxisTransformer,
  45. XAxisRenderer? xAxisRenderer,
  46. Matrix4? zoomMatrixBuffer,
  47. bool customViewPortEnabled,
  48. ChartTransListener? chartTransListener,
)

Implementation

LineChartPainter(
    LineData? data,
    Animator? animator,
    ViewPortHandler? viewPortHandler,
    double? maxHighlightDistance,
    bool highLightPerTapEnabled,
    double extraLeftOffset,
    double extraTopOffset,
    double extraRightOffset,
    double extraBottomOffset,
    IMarker? marker,
    Description? desc,
    bool drawMarkers,
    Color? infoBgColor,
    TextPainter? infoPainter,
    TextPainter? descPainter,
    XAxis? xAxis,
    Legend? legend,
    LegendRenderer? legendRenderer,
    DataRendererSettingFunction? rendererSettingFunction,
    OnChartValueSelectedListener? selectedListener,
    int maxVisibleCount,
    bool autoScaleMinMaxEnabled,
    bool pinchZoomEnabled,
    bool doubleTapToZoomEnabled,
    bool highlightPerDragEnabled,
    bool dragXEnabled,
    bool dragYEnabled,
    bool scaleXEnabled,
    bool scaleYEnabled,
    Paint? gridBackgroundPaint,
    Paint? backgroundPaint,
    Paint? borderPaint,
    bool drawGridBackground,
    bool drawBorders,
    bool clipValuesToContent,
    double minOffset,
    bool keepPositionOnRotation,
    OnDrawListener? drawListener,
    YAxis? axisLeft,
    YAxis? axisRight,
    YAxisRenderer? axisRendererLeft,
    YAxisRenderer? axisRendererRight,
    Transformer? leftAxisTransformer,
    Transformer? rightAxisTransformer,
    XAxisRenderer? xAxisRenderer,
    Matrix4? zoomMatrixBuffer,
    bool customViewPortEnabled,
    ChartTransListener? chartTransListener)
    : super(
          data,
          animator,
          viewPortHandler,
          maxHighlightDistance,
          highLightPerTapEnabled,
          extraLeftOffset,
          extraTopOffset,
          extraRightOffset,
          extraBottomOffset,
          marker,
          desc,
          drawMarkers,
          infoBgColor,
          infoPainter,
          descPainter,
          xAxis,
          legend,
          legendRenderer,
          rendererSettingFunction,
          selectedListener,
          maxVisibleCount,
          autoScaleMinMaxEnabled,
          pinchZoomEnabled,
          doubleTapToZoomEnabled,
          highlightPerDragEnabled,
          dragXEnabled,
          dragYEnabled,
          scaleXEnabled,
          scaleYEnabled,
          gridBackgroundPaint,
          borderPaint,
          drawGridBackground,
          drawBorders,
          clipValuesToContent,
          minOffset,
          keepPositionOnRotation,
          drawListener,
          axisLeft,
          axisRight,
          axisRendererLeft,
          axisRendererRight,
          leftAxisTransformer,
          rightAxisTransformer,
          xAxisRenderer,
          zoomMatrixBuffer,
          customViewPortEnabled,
          backgroundPaint,
          chartTransListener);