Package 

Class CanvasUtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static Float chartXToCanvasX(Float x, BasicChartDrawer basicChartDrawer) Translates chart x coord where 1 is above first datapoint or at the beginning of the first data point (barchart) to canvas where 0 is left corner
      final static Float chartYtoCanvasY(Float y, BasicChartDrawer basicChartDrawer) translates y-coord from current y-scale to y on canvas where 0 is at the top
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • chartXToCanvasX

         final static Float chartXToCanvasX(Float x, BasicChartDrawer basicChartDrawer)

        Translates chart x coord where 1 is above first datapoint or at the beginning of the first data point (barchart) to canvas where 0 is left corner