Coder Social home page Coder Social logo

linechart's Introduction

LineChart

这是一个简单实用的折线图,使用灵活,提供了丰富的自定义属性,还支持左右滑动,支持折点点击以及X轴刻度点击,下面看一下自定义属性:
1、xylinecolor:xy坐标轴颜色
2、xylinewidth:xy坐标轴宽度
3、xytextcolor:xy坐标轴文字颜色
4、xytextsize:xy坐标轴文字大小
5、linecolor:折线图中折线的颜色
6、interval:x轴各个坐标点水平间距
7、bgcolor:背景颜色
8、isScroll:是否在ACTION_UP时,根据速度进行自滑动,没有要求,建议关闭,过于占用GPU

下面再看看效果吧:

image
GIF录制的不太清楚,那就在上一张图片吧

image

linechart's People

Contributors

xiaoyunfei avatar

Watchers

 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.