public float computeRawX(float valueX) {
        final float pixelOffset = (valueX - maxViewport.left) * (contentRectMinusAllMargins.width() / maxViewport
                .width());
        return contentRectMinusAllMargins.left + 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