MpAndroidChart強大的圖表功能

  • 核心特徵

  • 8 個不同的圖表類型
  • 在兩個軸上進行縮放 ( touch-gesture, axes separately or pinch-zoom)
  • Dragging / Panning (with touch-gesture)
  • 結合圖表進行顯示 (line-, bar-, scatter-, candle-data)
  • 雙軸或獨軸顯示
  • 自定義 座標軸顯示 (both x- and y-軸)
  • 高亮屬性 (可以自定義Popup-View)
  • 將圖表保存到 SD-Card (以圖片或.txt文件的形式)
  • 預先定義顏色模板
  • 傳奇的地方 (完全支持自定義)
  • 動畫 (可以在X-Y軸建立圖表初始化動畫)
  • 極限線 (提供額外的信息,最大值、最小值等。)
  • 完全自定義 (畫筆, 字體, 標題說明, 顏色, 北京, 手勢, 虛格線, ...)
  • 能夠平滑的縮放和滑動 for up to 30.000 數據 點在線表和圖表上
  • 支持gradle
  • 可以直接從Realm.io 繪製數據 。
在gradle上使用

dependencies {
    compile 'com.github.PhilJay:MPAndroidChart:v2.2.4'
}


可以查看具體支持的圖表類型

圖表類型

  • 線性圖表 (with legend, simple design) alt tag
  • 線性圖表 (with legend, simple design) alt tag

  • 線性圖表 (cubic lines) alt tag

  • 線性圖表 (gradient fill) alt tag

  • 組合圖表 (bar- and linechart in this case) alt tag

  • BarChart (with legend, simple design)

alt tag

  • BarChart (grouped DataSets)

alt tag

  • Horizontal-BarChart

alt tag

  • 餅狀圖 (with selection, ...)

alt tag

  • 分散圖 (with squares, triangles, circles, ... and more)

alt tag

  • CandleStickChart (for financial data)

alt tag

  • 氣泡圖(area covered by bubbles indicates the value)

alt tag

  • 蜘蛛網圖 (spider web chart)

alt tag



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章