shixy / jchart Goto Github PK
View Code? Open in Web Editor NEWJingle Chart.移动端专属。极简单的图表控件,简单的图形+合适的接口,打造交互丰富的图表。
Home Page: http://vycool.com/JChart/
Jingle Chart.移动端专属。极简单的图表控件,简单的图形+合适的接口,打造交互丰富的图表。
Home Page: http://vycool.com/JChart/
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();
可以试试。
你好,我在使用的时候发现了一个bug:
当横轴上所有的点的数值都相等的时候,他就显示为y轴空白,不画出柱子
大概就是data : [1,1,1]的时候;
还有就是假如我每次显示的数据条数6,那么data : [1,1,1,1,1,1,1,9,8,6]的时候第一页也会显示为y轴空白,不画出柱子,继续滑动到连续6个数据不相等的时候他才会显示出图形来
请问这个该怎么解决?
折线图,设置datasetGesture : true时,Y轴的刻度值居然会变。会变也就算了,居然没地方设置不能变。
折线图,设置tap.point事件,和datasetGesture : true,拖动时,返回的(data,i,j)这个i居然是以折线表的展现的0为基准。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.