Android 图表组件:MPAndroidChart

jopen 10年前

一个简单的Android图表库,可用于创建线状图,柱状图,饼状图。并支持缩放,拖动和选择。

核心特性:

  • Scaling on both axes (with touch-gesture, axes separately or pinch-zoom)
  • Dragging (with touch-gesture)
  • Finger drawing (draw values into the chart with touch-gesture)
  • Highlighting values (with customizeable popup-views)
  • Save chart to SD-Card (as image, or as .txt file)
  • Read .txt file chart-data
  • Predefined color templates
  • Legends (generated automatically, customizeable)
  • Labels (both x- and y-axis, customizeable)
  • Animations (build up animations, on both x- and y-axis)
  • Limit lines (providing additional information, maximums, ...)
  • Fully customizeable (paints, typefaces, legends, colors, background, gestures, dashed lines, ...)

图表类型:

  • LineChart (with legend, simple design) alt tag
  • LineChart (with legend, simple design) alt tag

  • LineChart (single DataSet) alt tag

  • BarChart2D (with legend, simple design)

alt tag

  • BarChart2D (single DataSet)

alt tag

  • BarChart2D (multiple DataSets)

alt tagalt tag

  • BarChart3D

alt tag

  • PieChart (with selection, ...)

alt tagalt tag

  • ScatterChart (with squares, triangles, circles, ... and more)

alt tag

项目主页:http://www.open-open.com/lib/view/home/1408936875182