@@ -456,8 +456,8 @@ private void calculateGridDimensions(RectF widgetRect) {
456456 }
457457 }
458458
459- private void drawTickText (Canvas canvas , XYAxisType axis , Number value ,
460- float xPix , float yPix , Paint labelPaint ) {
459+ private void drawTickText (Canvas canvas , Axis axis , Number value ,
460+ float xPix , float yPix , Paint labelPaint ) {
461461 NumberLabelFormatter formatter ;
462462 String txt ;
463463 double v = value .doubleValue ();
@@ -518,7 +518,7 @@ private void drawDomainTick(Canvas canvas, float xPix, Number xVal,
518518 yPix = gridRect .top - domainTickExtension
519519 - domainTickLabelVerticalOffset ;
520520 }
521- drawTickText (canvas , XYAxisType .DOMAIN , xVal ,
521+ drawTickText (canvas , Axis .DOMAIN , xVal ,
522522 xPix + domainTickLabelHorizontalOffset , yPix ,
523523 labelPaint );
524524 }
@@ -555,7 +555,7 @@ public void drawRangeTick(Canvas canvas, float yPix, Number yVal,
555555 xPix = gridRect .right
556556 + (rangeTickExtension + rangeTickLabelHorizontalOffset );
557557 }
558- drawTickText (canvas , XYAxisType .RANGE , yVal , xPix , yPix - rangeTickLabelVerticalOffset ,
558+ drawTickText (canvas , Axis .RANGE , yVal , xPix , yPix - rangeTickLabelVerticalOffset ,
559559 labelPaint );
560560 }
561561 } else if (linePaint != null && (rangeSubTick || rangeLabelSubTickExtension > ZERO )) {
@@ -593,7 +593,7 @@ protected void drawGrid(Canvas canvas) {
593593 domainOriginF = paddedGridRect .left ;
594594 }
595595
596- XYStep domainStep = XYStepCalculator .getStep (plot , XYAxisType .DOMAIN ,
596+ XYStep domainStep = XYStepCalculator .getStep (plot , Axis .DOMAIN ,
597597 paddedGridRect , plot .getCalculatedMinX ().doubleValue (), plot
598598 .getCalculatedMaxX ().doubleValue ());
599599
@@ -671,7 +671,7 @@ protected void drawGrid(Canvas canvas) {
671671 rangeOriginF = paddedGridRect .bottom ;
672672 }
673673
674- XYStep rangeStep = XYStepCalculator .getStep (plot , XYAxisType .RANGE ,
674+ XYStep rangeStep = XYStepCalculator .getStep (plot , Axis .RANGE ,
675675 paddedGridRect , plot .getCalculatedMinY ().doubleValue (), plot
676676 .getCalculatedMaxY ().doubleValue ());
677677
0 commit comments