Different color bars using multiple series

后端 未结 2 1272
萌比男神i
萌比男神i 2020-12-09 22:53

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

2条回答
  •  隐瞒了意图╮
    2020-12-09 23:26

    I handled it by setting the Type from Type.Default to Type.Stacked in the getBarChartView.

    ChartFactory.getBarChartView(TestSevenDay1.this, dataset, multiRenderer, Type.STACKED); 
    

提交回复
热议问题