enableAxisLineDashedLine method

void enableAxisLineDashedLine(
  1. double lineLength,
  2. double spaceLength,
  3. double phase
)

Enables the axis line to be drawn in dashed mode, e.g. like this "- - - - - -". THIS ONLY WORKS IF HARDWARE-ACCELERATION IS TURNED OFF. Keep in mind that hardware acceleration boosts performance.

@param lineLength the length of the line pieces @param spaceLength the length of space in between the pieces @param phase offset, in degrees (normally, use 0)

Implementation

void enableAxisLineDashedLine(
    double lineLength, double spaceLength, double phase) {
  _axisLineDashPathEffect = DashPathEffect(lineLength, spaceLength, phase);
}