lecho.lib.hellocharts.renderer.ComboLineColumnChartRenderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hellocharts-library Show documentation
Show all versions of hellocharts-library Show documentation
Charting library for Android compatible with API 8+(Android 2.2).
package lecho.lib.hellocharts.renderer;
import android.content.Context;
import lecho.lib.hellocharts.provider.ColumnChartDataProvider;
import lecho.lib.hellocharts.provider.LineChartDataProvider;
import lecho.lib.hellocharts.view.Chart;
public class ComboLineColumnChartRenderer extends ComboChartRenderer {
private ColumnChartRenderer columnChartRenderer;
private LineChartRenderer lineChartRenderer;
public ComboLineColumnChartRenderer(Context context, Chart chart, ColumnChartDataProvider columnChartDataProvider,
LineChartDataProvider lineChartDataProvider) {
super(context, chart);
columnChartRenderer = new ColumnChartRenderer(context, chart, columnChartDataProvider);
lineChartRenderer = new LineChartRenderer(context, chart, lineChartDataProvider);
renderers.add(columnChartRenderer);
renderers.add(lineChartRenderer);
}
}