Coder Social home page Coder Social logo

shixy / jchart Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 19.0 1.41 MB

Jingle Chart.移动端专属。极简单的图表控件,简单的图形+合适的接口,打造交互丰富的图表。

Home Page: http://vycool.com/JChart/

JavaScript 69.15% CSS 30.85%

jchart's People

Contributors

shixy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jchart's Issues

折线图的相关bug

折线图,设置datasetGesture : true时,Y轴的刻度值居然会变。会变也就算了,居然没地方设置不能变。
折线图,设置tap.point事件,和datasetGesture : true,拖动时,返回的(data,i,j)这个i居然是以折线表的展现的0为基准。

柱状图有个bug

你好,我在使用的时候发现了一个bug:
当横轴上所有的点的数值都相等的时候,他就显示为y轴空白,不画出柱子
大概就是data : [1,1,1]的时候;
还有就是假如我每次显示的数据条数6,那么data : [1,1,1,1,1,1,1,9,8,6]的时候第一页也会显示为y轴空白,不画出柱子,继续滑动到连续6个数据不相等的时候他才会显示出图形来
请问这个该怎么解决?

雷达图,如果 所有值相等就啥也不显示了

var data = { labels : ["Eating","Drinking","Sleeping","Designing","Coding","Partying","Running"], datasets : [ { fillColor : "rgba(220,220,220,0.5)", strokeColor : "rgba(220,220,220,1)", pointColor : "rgba(220,220,220,1)", pointStrokeColor : "#fff", data : [1,1,1,1,1,1,1] } ] } var radar = new JChart.Radar(data,{ id : 'canvas1' }); radar.on('tap.point',function(data){ alert(data); }); radar.draw();

可以试试。

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.