This is the example / showcase application for the MPAndroidChart chart library / graph library on GitHub: https://github.com/PhilJay/MPAndroidChart
The library this app showcases (MPAndroidChart) is designed to create beautiful visual representations.
The core features of the library include:
- Many different chart types: 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)
- 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 10.000 data points in Line- and BarChart (tested on a 2014 OnePlus One running Android 6.0)
- Lightweight (method count ~1.4K)
- Available as gradle dependency and via maven
- Widely used, great support on both GitHub and stackoverflow - mpandroidchart
- Also available for iOS: Charts (API works the same way)
- Also available for Xamarin: MPAndroidChart.Xamarin
This project is meant to demonstrate the features of the library and motivate developers to make use of it. This is not an app to create charts.
这是GitHub上MPAndroidChart图表库/图库的示例/展示应用程序:https://github.com/PhilJay/MPAndroidChart
这个应用程序展示的库(MPAndroidChart)旨在创建美丽的视觉表示。
该库的核心功能包括:
- 许多不同的图表类型:LineChart,BarChart(垂直,水平,堆叠,分组),PieChart,ScatterChart,CandleStickChart(用于财务数据),RadarChart(蜘蛛网图表),BubbleChart
- 组合图表(例如线条和条形图)
- 在两个轴上缩放(分别使用触摸手势,轴或捏缩放)
- 拖动/平移(使用触摸手势)
- 单独(双)y轴
- 突出显示值(具有可自定义的弹出视图)
- 将图表保存到SD卡(作为图像)
- 预定义的颜色模板
- 传奇(自动生成,可定制)
- 可定制轴(x轴和y轴)
- 动画(在x轴和y轴上构建动画)
- 限制线(提供额外信息,最大值,......)
- 用于触摸,手势和选择回调的听众
- 完全可定制(油漆,字体,图例,颜色,背景,虚线,......)
- 通过MPAndroidChart-Realm库支持Realm.io移动数据库
- 在Line-和BarChart中平滑渲染多达10.000个数据点(在运行Android 6.0的2014 OnePlus One上测试)
- 轻量级(方法计数~1.4K)
- 可用作gradle依赖和maven
- 广泛使用,对GitHub和stackoverflow都有很好的支持 - mpandroidchart
- 也可用于iOS:图表(API以相同的方式工作)
- 也适用于Xamarin:MPAndroidChart.Xamarin
该项目旨在演示库的功能并激励开发人员使用它。这不是创建图表的应用程序。