Android的图表:achartengine或AndroidPlot?图表、Android、AndroidPlot、achartengine

2023-09-04 03:38:16 作者:笗菇頭

我想向发展的活动在一个情节显示传感器数据。我一直在环顾四周,我发现对我来说,更有趣的选项是 achartengine 和 AndroidPlot 。

I want to develope an activity to display sensor data in a plot. I've been looking around and I have found that the more interesting options for me are achartengine and AndroidPlot.

我需要以下条件:

在3个以上系列支线剧情 动态图 在与其他GUI集成难熬布局 与数据库集成

我认为无论lybraries是确定与我的要求,但也有人告诉我,从他的经验至极孰优孰劣?哪一个更容易与应用集成?

I think that both lybraries are ok with my requirements, but could someone tell me from his experience wich one is better? Which one is easier to integrate with an app?

推荐答案

我还没有看AChartEngine但使用AndroidPlot并能传递我在这里的经历。

I haven't look at AChartEngine but have used AndroidPlot and can relay my experience here.

我已经成功地对我的图多条线路实时更新(要求1和2)和该图已被嵌入另一个控制(要求3)内。

I've successfully had multiple lines on my chart being updated in realtime (Req 1&2) and this chart has been embedded inside of another control (Req 3).

有关所需物品4,我还没有与一个数据库,但我的猜测是,你会写在code做的查询和更新图表自己。

For Req 4, I haven't worked with a db but my guess is that you would have to write the code to do the query and update the chart yourself.