Column series in Bargraph android


Not able to set colors to column and the width of the columns please help.

I tryied:

ColumnSeries offers = new ColumnSeries();

offers.getStyle().setAreaColor(Color.argb(1, 214, 203, 239));

offers.getStyle().setAreaColorGradient(Color.argb(1, 214, 203, 239));



Hi ankit,

This looks like it should work, though it’s hard to say without more context (I’m assuming you do actually add the sereis to the chart and that this code is called when your activity is created). The onCreate method of the quick start sample app shows an example of how to do this.

Best regards,

Robin Sillem