Android 图表库:Android GraphView

jopen 11年前

Graph View 是一个灵活,美观的android 图表库,现在只有折线图和条形图两种图表样式,易于使用,整合和定制。可以使用在android 1.6以上的版本。

功能概述

  • Two chart types
    Line Chart and Bar Chart.
  • Draw multiple series of data
    Let the diagram show more that one series in a graph. You can set a color and a description for every series.
  • Show legend
    A legend can be displayed inline the chart. You can set the width and the vertical align (top, middle, bottom).
  • Custom labels
    The labels for the x- and y-axis are generated automatically. But you can set your own labels, Strings are possible.
  • Handle incomplete data
    It's possible to give the data in different frequency.
  • Viewport
    You can limit the viewport so that only a part of the data will be displayed.
  • Scrolling
    You can scroll with a finger touch move gesture.
  • Scaling / Zooming
    Since Android 2.3! With two-fingers touch scale gesture (Multi-touch), the viewport can be changed.
  • Background (line graph)
    Optionally draws a light background under the diagram stroke.
  • Custom Style
    change the color and thickness, label font size/color and more
  • Realtime / Live
    append new data live or reset the whole data
  • BarChart: Value dependent color
  • GraphViewDataInterface
    You can use your own model as data. Just implement GraphViewDataInterface.
  • .. and may more
    Take a look at the GraphView-Demo project.

Android 图表库:Android GraphView

Android 图表库:Android GraphView

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