-->

How to display x-axis label above the axis using A

2019-09-14 11:12发布

问题:

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);