AchartEngine:如何使用具有两种不同比例的TimeSeries(AchartEngine: How to use TimeSeries with two different scales)

编程入门 行业动态 更新时间:2024-10-11 21:28:28
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");

更多推荐

本文发布于:2023-04-29 10:07:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1335634.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:两种   如何使用   比例   AchartEngine   TimeSeries

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!