Android的图表库 [英] Android charting libraries
本文介绍了Android的图表库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我为Android开发的应用程序,我想找到一个快速,可靠的图表库。经过一番搜索,我发现4库: AChartEngine ,的 WilliamChart , HelloCharts 和的 AndroidPlot 。我需要一些最新的反馈有关性能和这些库的稳定性,因为所有的信息,我能找到的是过时的。 谢谢你。
I am developing an app for Android and I am trying to find a fast and reliable charting library. After some searching, I found 4 libraries: AChartEngine, WilliamChart, HelloCharts and AndroidPlot. I need some up to date feedback about the performance and the stability of these libraries because all the information I could find was outdated. Thanks.
推荐答案
我可以推荐 MPAndroidChart
I can recommend MPAndroidChart.
核心功能:
- 应用于LineChart,柱状图(竖直放;水平),饼图,ScatterChart,CandleStickChart(财务数据),RadarChart(蛛网图),BubbleChart中
- 在结合图表(如线和酒吧中的一种)
- 在缩放两轴(带触摸手势,分别轴或捏缩放)
- 在拖动/平移(带触摸手势)
- 独立(双),y轴
- 在突出显示值(带可定制的弹出-意见)
- 保存图表Micro-SD卡(作为图像)
- predefined颜色模板
- 传奇(自动生成的,可定制)
- 可定制轴(x轴和y轴)
- 在动画(建立动画,两个X轴和Y轴)
- 在限制线(提供其他信息,最大值,...)
- 监听器的触摸和选择回调
- 完全可定制(油漆,字体,传说,颜色,背景, 手势,虚线,...)
- 平滑渲染长达 30.000 的线路和柱状图数据点
- 提供的 .jar文件(只有500KB大小)
- 提供的摇篮依赖并通过行家
- 好文档
- 示例项目($ C $下的演示应用程序)
- <一个href="https://play.google.com/store/apps/details?id=com.xxmassdeveloper.mpchartexample">Google-PlayStore演示应用程序
- 应用广泛,双方的GitHub和StackOverflow的大力支持
- 也可用于iOS的: IOS-图表
- LineChart, BarChart (vertical & horizontal), PieChart, ScatterChart, CandleStickChart (for financial data), RadarChart (spider web chart), BubbleChart
- Combined Charts (e.g. lines and bars in one)
- Scaling on both axes (with touch-gesture, axes separately or pinch-zoom)
- Dragging / Panning (with touch-gesture)
- Separate (dual) y-axes
- Highlighting values (with customizeable popup-views)
- Save chart to SD-Card (as image)
- Predefined color templates
- Legends (generated automatically, customizeable)
- Customizeable Axes (both x- and y-axis)
- Animations (build up animations, on both x- and y-axis)
- Limit lines (providing additional information, maximums, ...)
- Listeners for touch & selection callbacks
- Fully customizeable (paints, typefaces, legends, colors, background, gestures, dashed lines, ...)
- Smooth rendering for up to 30.000 data points in Line- and BarChart
- Available as .jar file (only 500kb in size)
- Available as gradle dependency and via maven
- Good documentation
- Example Project (code for demo-application)
- Google-PlayStore Demo Application
- Widely used, great support on both github and stackoverflow
- Also available for iOS: ios-charts
这篇关于Android的图表库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文