如何显示在Android的饼图 [英] How to show pie chart in android

查看:173
本文介绍了如何显示在Android的饼图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立在我要显示在一个饼图的内存和CPU使用率地图的应用程序。不过,我不知道如何实现这一点。

I want to build an app in where I want to show memory and cpu usage map in a pie chart . However I have no idea about how to implement this .

我已经看到了以下问题:

I have seen the following question :

<一个href="http://stackoverflow.com/questions/12000492/how-to-display-the-3d-pie-chart-asynchronously-in-android">How在Android的异步显示3D饼图?

但我无法解决这个问题。我能做什么 ?伙计们,u能帮助我在这方面?

But I could not resolve this issue . What can I do ? Guys , can u help me in this regard ?

推荐答案

要画在Android上图可以使用第三方-lib中。 所有的库支持不同类型的图表。

To "paint" a graph on android you can use a third-party-lib. All libs supports different types of charts.

有一些图,库为Android:

There are some graph-libs for Android:

  1. afreechart 是基于JFreeChart的。 许可:LGPL 版本:0.0.4

  1. afreechart is based on jfreechart. License: LGPL Version: 0.0.4

AChartEngine
许可:阿帕奇 版本:1.2.0 Maven的:是的。 (自定义回购?)

AChartEngine
License: Apache Version: 1.2.0 Maven: yes. (custom repo?)

AndroidPlot 许可:阿帕奇 版本:0.6.0 Maven的:是

AndroidPlot License: Apache Version: 0.6.0 Maven: yes

GraphView
许可:Apache的? 版: ? Maven的:

GraphView
License: Apache? Version: ? Maven: ?

我发现没有那么多了。但是,这似乎是免费的。

I've found not so much about it. But it seems to be free.

  1. DroidCharts 许可:LGPL 版本:R2? Maven的:

  1. DroidCharts License: LGPL Version: r2? Maven: ?

Chartdroid
许可:阿帕奇 版本:2.0.0 Maven的:?

Chartdroid
License: Apache Version: 2.0.0 Maven: ?

或者你实现你自己的:) 这不是可圈可点的答案,但也许一个很好的提示。

Or you implements your own :) It's not the perferct answer, but maybe a good hint.

这篇关于如何显示在Android的饼图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆