Different color bars using multiple series
I am totally new to Android and i am trying to create a bar chart using AChartEngine, it has 3 bars and each bar should be different color. I tried using multiple series but can't make my x-axis values align with bars protected void onResume() { super.onResume(); layout = (LinearLayout) findViewById(R.id.chart); if (mChartView == null) { PeakSeries = new XYSeries("Income"); ForecastPeakSeries = new XYSeries("Expense"); ForecastSeries = new XYSeries("Expense"); int[] x = { 1,2,3}; int income = 2000; int expense = 2700; System.out.println("Here"); Series1.add(x[0],income); Series2.add(x[1]