public float computeRawDistanceY(float distance) {
        return distance * (contentRectMinusAllMargins.height() / currentViewport.height());
    }
Translates viewport distance int pixel distance for X coordinates.
hellocharts-library/src/lecho/lib/hellocharts/computator/ChartComputator.java