@Override
    public void onChartDataChanged() {
        super.onChartDataChanged();
        final int internalMargin = calculateContentRectInternalMargin();
        computator.insetContentRectByInternalMargins(internalMargin, internalMargin,
                internalMargin, internalMargin);
        baseValue = dataProvider.getLineChartData().getBaseValue();

        onChartViewportChanged();
    }
Renderer for line chart. Can draw lines, cubic lines, filled area chart and scattered chart.
hellocharts-library/src/lecho/lib/hellocharts/renderer/LineChartRenderer.java