public float computeRawY(float valueY) {
        final float pixelOffset = (valueY - maxViewport.bottom) * (contentRectMinusAllMargins.height() / maxViewport
                .height());
        return contentRectMinusAllMargins.bottom - pixelOffset;
    }
Version of ChartComputator for preview charts. It always uses maxViewport as visible viewport and currentViewport as
preview area.
hellocharts-library/src/lecho/lib/hellocharts/computator/PreviewChartComputator.java