Achartengine : Bar graph coloring

眉间皱痕 提交于 2020-01-16 14:33:09

问题


I have designed a bar graph using AChartEngine lirary::

it looks as shown below:

my question is ??? - can i make different height bars to have different colors(passed data is single series)


回答1:


Check Bar chart using achartengine thread. If this does not help check Different color bars using multiple series . I managed to do the same using the concept used by the asker in second question. In addition I made

renderer.setBarSpacing(0); 

I know you've mentioned that data is passed in single series. however this is currently not implemented in AChartEngine. Lets wait for new version of it.



来源:https://stackoverflow.com/questions/15969486/achartengine-bar-graph-coloring

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