问题
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