Android图表库 [英] Android charting libraries

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

问题描述

我正在为Android开发一款应用,我正在寻找一个快速可靠的图表库。经过一番搜索,我找到了4个库: AChartEngine WilliamChart HelloCharts AndroidPlot 。我需要一些关于这些库的性能和稳定性的最新反馈,因为我能找到的所有信息都已过时。
感谢。

解决方案

您可以使用 MPAndroidChart



它原生,易于使用,快速可靠。

核心功能:




  • LineChart,BarChart ,堆叠,分组),PieChart,ScatterChart,CandleStickChart(用于财务数据),RadarChart(蜘蛛网图表),BubbleChart

  • 组合图表
  • 在两个轴上缩放(分别使用触摸手势,轴或捏拉缩放)

  • 拖动/平移(使用触摸手势)

  • 分隔(双)y轴

  • 突出显示值(可自定义弹出式视图

  • 支持动态&




  • 将图表保存到SD-Card
  • 图例(自动生成,可自定义)

  • 可自定义的轴(x轴和y轴)

  • 动画x和y轴)

  • 限制线(提供附加信息,最大值...)

  • 触摸,手势&


  • 可完全自定义(油漆,字体,图例,颜色,背景,虚线等)
  • ://realm.iorel =nofollow> Realm.io 移动数据库支持通过 MPAndroidChart -Realm 图库
  • 在Line-和BarChart中平滑呈现 30.000 数据点

  • 轻量级(方法计数〜1.4K)

  • 提供 .jar档案(大小只有500kb)

  • strong> gradle依赖 maven

  • 良好文档

  • 示例项目(演示应用代码)

  • Google-PlayStore演示应用

  • 广泛使用,对 GitHub 和stackoverflow - mpandroidchart

  • 也可用于 iOS 图表(API的工作原理相同方式)


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.

解决方案

You can use MPAndroidChart.

It's native, easy to use, fast and reliable.

Core features:

  • LineChart, BarChart (vertical, horizontal, stacked, grouped), 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)
  • Support for dynamic & realtime data plotting
  • 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, gesture & selection callbacks
  • Fully customizeable (paints, typefaces, legends, colors, background, dashed lines, ...)
  • Realm.io mobile database support via MPAndroidChart-Realm library
  • Smooth rendering for up to 30.000 data points in Line- and BarChart
  • Lightweight (method count ~1.4K)
  • 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 - mpandroidchart
  • Also available for iOS: Charts (API works the same way)

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

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