GithubHelp home page GithubHelp logo

irmobydick / chartbinding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hotstu/chartbinding

0.0 0.0 0.0 709 KB

Android DataBinding wrapper for MPAndroidChart, using chart in a MVVM way!

License: Apache License 2.0

Java 100.00%

chartbinding's Introduction

author Download License

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


limits

only limited type of charts are supported(bar/line/pie)

more

Github 简书 掘金 JCenter dockerHub
Github 简书 掘金 JCenter dockerHub

License

Copyright 2018 hglf

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


chartbinding's People

Contributors

hotstu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.