-
public final class CanvasUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static FloatchartXToCanvasX(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 FloatchartYtoCanvasY(Float y, BasicChartDrawer basicChartDrawer)translates y-coord from current y-scale to y on canvas where 0 is at the top -
-
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
-
chartYtoCanvasY
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
-
-
-
-