0

I have implemented BarChart and my Bar Chart is Grouped and Stacked. Just Like this Graph

I am done with Grouping and Stacking BarChart using MpChart Library in Android. But I am unable to find a way of giving a different color to each bar and each stack. Currently, I am able to set stack color. But I also want to assign a different color to each bar in a group. I hope I explained well.

Update Android Stacked grouped Bar Chart Kotlin Example

Developine
  • 12,483
  • 8
  • 38
  • 42

1 Answers1

2

treat each bar as a different barSet and set color to it.

Atif AbbAsi
  • 5,633
  • 7
  • 26
  • 47