leighquince / chart.js Goto Github PK
View Code? Open in Web Editor NEWThis project forked from chartjs/chart.js
Simple HTML5 Charts using the <canvas> tag
License: MIT License
This project forked from chartjs/chart.js
Simple HTML5 Charts using the <canvas> tag
License: MIT License
I want to use these options along with labelsFilter function.
scaleOverride: true,
scaleSteps: 4,
scaleStepWidth: 25,
scaleStartValue: 0,
But it doesn't work.
your fork: http://jsfiddle.net/mea767ss/117/ labelsfilter works , scaleoverride doesn't
original : http://jsfiddle.net/mea767ss/116/
Hi
I have a question.
Do you have a plan to provide Stack chart?
Thanks!
Noted by @Bigdragon13th
Here is the example: http://fiddle.jshell.net/rdaqatng/
Hi guys, this fork is awesome. I have one request tho, can this be added to your build?
https://github.com/tomsouthall/Chart.HorizontalBar.js/tree/master
I can't see to get it running with your core. Having something like this would be amazingly helpful.
Thanks!
I've just updated from beta4, and my labelsFilter no longer seems to work.
Looking at the example on jsfiddle, that doesn't seem to be filtering either...
On pie-doughnut charts, would it possible to display at all times (not only when you hover over) the tooltips?
Kinda like google charts do. https://jsfiddle.net/1c4yyumf/
It is not hard to modify the original tooltipTemplate option to display whatever you want when you hover over each slice. But the issue is when you print or take a screenshot, the values/percentages are not displayed. Maybe add an option like "showAllTooltips=true" to display all tooltips for each segment as soon as the chart is drawn.
Thanks.
edit: I found a workaround, http://jsfiddle.net/5gyfykka/
onAnimationComplete: function()
{
this.showTooltip(this.segments, true);
},
When using Overlay i noticed, that destroy() was not implemented.
Can this be added, or is there reason, why this was dropped out?
Another great addition would be the option to show tooltips when hovering over the horizontal labels in bar charts. Currently the tooltip only shows up when you hover over the bar.
This is especially useful in situations where the value differences are so high that the small bar is barely showing or when the bars are really thin.
Hi,
i've contact you by mail, and for make the discussion easier, you've aksed me to post a issue here so there it is ! ;)
i've got some trouble to adapt your fork for make it draw down bar from 0 for negatives values.
At first place, I was looking for a fork of Chartjs api wich support negative values correctly. I found a post of nnnick in the issue part where he explains how we can succeed to draw negative value down from 0 so I try to do some modification in the chart.js file to do that (following the indication of nnnick) and I succeed I get this :
http://fiddle.jshell.net/Mokette/x2vy0nvh/2/
(you probably have to run it for make it draw properly -> positifves values draw up from 0 to value and negatives draw down from 0 to value)
(in this fiddle it’s the chartjs file with some modification for drawing negatives values down from 0, it’s work pretty well :) )
Then I’ve been ask to draw multiple graph (a bar and two line) in the same canvas so I look for a fork wich permit these functionality and I found yours !
It work really good for drawing multiple graph with the new overlay extension but it doesn’t work for drawing negatives values.
So I try to do the same modification to the Chart.js file of your fork to add the functionality of drawing bars down from 0 for bar graph but I didn’t succeed to make it work well :s
http://fiddle.jshell.net/Mokette/xL0bdcmb/1/
This is the fiddle where I load your chart.js file from your fork with my modification for drawing bar down :) but didn’t work as the first fiddle for drawing bar down but still work well for multiple graph :)
You can find here http://gnomebusters.fr/jsfiddle/files/ two file, the chart.js file I use in my second fiddle (the Chart.js file is the one from your fork where i add some modification to test drawing negatives bars) and a .txt file where I explain where I’ve added/modify your fork to try to draw negative bars.
I am using a chart in my page using chart.js I have on my x axis dates while on my y axis values(cost). I want to keep the line chart continue its value until there is a change and have coded for that. Here is the output
http://i.stack.imgur.com/nWfrR.png
In this as marked if the value is same I have dots plotted. I have an option to remove all dots but I want to remove dots if the value is same as previous.(there is no change). I would like to know if this is doable. If please guide me how to go for it?
I got this issue when putting chart in the percentage div. And set responsive to True.
When you resize the browser, the horizontal line will gone missing if the div size is larger than when it's created.
This occurred in Overlay, Line & Bar type (as far as I tested).
Here is the example: http://fiddle.jshell.net/ao0fcwya/
the rotation of labels is calculated with all label length,
can you make the rotation depends on the label length after filter?
Issue is values are passed through min helper that will set min as 0 when null is passed in. Fix coming
Hi!
Great job with the bar-line custom script!
I would like to report something that happened to me, but I dont know if it happens only with me.
I've created a bar-line chart e on my laptop with chrome it worked fine.
But I tried open the same chart on my phone Nexus 4 (chrome) but it show the chart.js default charts... but doesnt show the custom bar-line chart.
Could you test on you mobile browser? Thanks.
Hi,
I found your Overlay solution for mixing bar and line chart excellent, but I wonder do you plan to add support for additional Y axis; e.g. one for bar and another for line chart values?
By now overlay functionality is available as fork of original Chart.js. Is there a chance to port it as chart.js plugin?
scaleShowVerticalLines: false,
scaleShowHorizontalLines: false
are not working, stil shows lines
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.