GithubHelp home page GithubHelp logo

wanghetommy / ichartjs Goto Github PK

View Code? Open in Web Editor NEW
354.0 354.0 198.0 1.6 MB

ichartjs is a HTML5 canvas charting library. written in pure JavaScript, It uses the HTML5 canvas tag to bulid a variety of charting.offering interactive charts to your web site or web application. ichartjs currently supports line, area, column, bar, pie chart types.and pie and column also support 3D model.ichartjs is covered by the Apache License 2.0

JavaScript 98.40% HTML 1.60%

ichartjs's People

Contributors

wanghetommy 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  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  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  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  avatar  avatar  avatar

ichartjs's Issues

Can not display 0 column value correctly in columnMulti2D

Example:
http://www.ichartjs.com/samples/index.html?page=columnmulti2d_01.html&pageno=2
When the data values contains 0 value, it will not display correctly.
Such as: value: [45,52,54,74,0,84].
The work around is to use "String" integer such as [45,52,54,74,'0',84].
The issue code is in ichart.chat.js
89: V = d.value[i];
90: if(!V)return;
Should update to
90: if(V==null) return;
https://github.com/andersonmao/ichartjs/blob/b8cfc513d3b239b308caa0979ac66cc70c3fedcd/src/ichart.chart.js

linebasic2D can't display % on values and tips

qq 20160613113514
…]()
options = {
render: id,
title: title,
subtitle: subtitle,
showpercent: showPercent,
width: width,
height: height,
tip: {
enable: true,
shadow: true
}
,legend:{
enable:true,
background_color : null,
border : {
enable : false
}
}
,coordinate:{
scale:[{
//position:'left',
listeners:{
parseText:function(t,x,y){
if(showPercent==true){
return {text:t+"%"}
}else{
return {text:t}
}
}
}
}]
}
};
console.log("LineBasic2DOptions","::","showPercent","::",options.showpercent);
qq 20160613114218

Download as Image

It would be great to be able to download the finished canvas with right-click!

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.