chartbinding

Additional

Language
Java
Version
N/A
Created
Nov 16, 2018
Updated
Aug 8, 2019
Owner
hglf (hotstu)
Contributor
hglf (hotstu)
1
Activity
Badge
Generate
Download
Source code
APK file

Promotion

chartbinding

使用DataBing对MPAndroidChart进行封装, 使用MVVM方式开发图表(饼状图、折线图、饼状图) MPAndroidChart默认的样式太难看,设置起来也太复杂,这里提供了一套默认的样式(配色来自Echart),并且可以通过style指定配色方案, 使用的时候只用关注数据、绑定数据大大提升了开发体验

Android DataBinding wrapper for MPAndroidChart, using chart in a MVVM way! the goal of this lib is to making a more simple way to make chart for light charting usage, avoiding the complex property settings.

How to use

just Add the dependency

 dependencies {
         implementation 'com.github.hotstu:chartbinding:1.0.0'
 }

then checkout the demo project for more