问题
I want to create graph like above. In this graph titles are on top. User can select particular time to view more detail. How to show this X-axis labels on top of axis using AChartEngine or any other graph api for android?
回答1:
You can use annotations, which are text labels that can be placed anywhere in the graph.
series.addAnnotation("Vacation", 6, 30);
来源:https://stackoverflow.com/questions/17545194/how-to-display-x-axis-label-above-the-axis-using-achartengine-in-android