Cross-device Compatibility Issue Of Achartengine Bar Graph
I am able to develop a Bar Graph with the help of Dan in a 7' tablet emulator and to make it fitted in this screen I used setXAxisMax() and setXAxisMin(). Here is the graph I obtai
Solution 1:
The setXAxisMin()
and setXAxisMax()
calls set the scale for the graph, not the size of the graph.
Try reducing the value passed to setBarWidth()
. I expect that the total width of the graph is given by num_bars * (X+Y)
where X and Y are passed to (setBarWidth(X)
+ setBarSpacing(Y)
).
I have never built a bar chart with ACE, but I think that should be calculated based on the actual window width and the number of bars in your chart. Hope that helps.
Post a Comment for "Cross-device Compatibility Issue Of Achartengine Bar Graph"