compile 'com.github.PhilJay:MPAndroidChart:v2.0.9'
#MainActivity java private ArrayList getDataSet() { ArrayList dataSets = null;
ArrayList<BarEntry> valueSet1 = new ArrayList<>();
BarEntry v1e1 = new BarEntry(110.000f, 0);
valueSet1.add(v1e1);
BarDataSet barDataSet1 = new BarDataSet(valueSet1, "Brand 1");
barDataSet1.setColors(Common.COLORFUL_COLOR);
dataSets = new ArrayList<>();
dataSets.add(barDataSet1);
return dataSets;
}
###getXAxisValues Method
private ArrayList getXAxisValues() {
ArrayList xAxis = new ArrayList<>();
xAxis.add("Android Animatio BarChart");
return xAxis;
}