AchartEngine:如何使用具有两种不同比例的TimeSeries(AchartEngine: How to use TimeSeries with two different scales)
由于AchartEngine API的TimeSeries Construstor只接受字符串作为参数,并且没有其他参数作为缩放参数传递。 那么我将如何使用它与两个不同的尺度
谢谢
As TimeSeries Construstor of AchartEngine API take only string as argument and have no other argument to pass as a scale argument. So how I will use it with two different scales
Thanks
最满意答案
我建议你不要尝试使用TimeSeries进行多尺度图表制作。
您最好构建一个常规的多尺度折线图,在X轴上设置时间戳并设置自定义标签。
// disable the default labels renderer.setXLabels(0); // add your formatted dates, several of these calls renderer.addXTextLabel(x, "formatted date");I suggest you don't try to use TimeSeries for multiple scales charting.
You would better build a regular multiple scale line chart, set timestamps on the X axis and set your custom labels.
// disable the default labels renderer.setXLabels(0); // add your formatted dates, several of these calls renderer.addXTextLabel(x, "formatted date");更多推荐
发布评论