How to make space between bars in bargraph using Achartengine if each bar is different color containing different values

筅森魡賤 提交于 2019-12-01 03:20:59

I changed all your series to XYSeries and add them simply to the dataset, without calling extra methods.

XYSeries series1 = new XYSeries("A");
dataset.addSeries(series1);

Then, add data like in a regular XYChart like this:

series1.add(1, value);
series2.add(2, value);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!