xch89820 / chart.funnel.js Goto Github PK
View Code? Open in Web Editor NEWThe funnel plugins for Chart.js 2.0
License: MIT License
The funnel plugins for Chart.js 2.0
License: MIT License
Hi, after loading my data, the chart is displaying like below using chart.funnel.js
http://www.mediafire.com/view/8n4e5hdby3u311n/chartjs%20chart.jpg#
but I want the chart to look like below, here I'm using kibana
http://www.mediafire.com/view/n4fzdp6xzpn0p9h/Kibana%20chart.jpg#
Can you please help me to solve this
Thank you
Hi dear, Thank you for your high-quality code chart. There is an issue:
funnel legend algin doesn't work. Can you fix it or help me out to fix this?
Thanks
Hi,
Pls, just change "main": "dist/chart.funnel.min.js", to "main": "dist/chart.funnel.js", to solve the error on install
[user@linux Chart.Funnel.js]$ bower install
bower invalid-meta The "main" field cannot contain minified files
Hi, when showing a funnel with a predetermined order, like that of a defined sequence of stages, is there a way to disable the sort all together? As far as I can tell, the sort option checking is not strict. If it's not === asc, then it's sorted descending regardless of what's passed including false.
In my case, my stages are predetermined and the funnel needs to show the number of tickets at each stage. Showing "New" tickets label anywhere but the top of the funnel is confusing. Likewise, Closed tickets must be the bottom of the funnel as the end stage. (New -> Requesting Info -> Resolved -> Closed)
I dont know what is the problem but I'm facing a lot of issues when I combine both,
Initially I created my charts with the basic ones provided in chartJS, and they are all configured how I want colors, tooltip, cursor change etc,
Now when I include Chart.funnel.js my tooltip doesn't work, but at the same time other basic charts tooltip is working,
Can you please help me how to solve this.
Thank you
chartjs v 2.7.2
chartjs-funnel v 1.0.5
Uncaught TypeError: element.getCenterPoint is not a function
at http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:5922:24
at parseVisibleItems (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:5881:5)
at getNearestItems (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:5917:2)
at nearest (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:6087:23)
at Chart.getElementsAtEventForMode (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:4494:12)
at ChartElement.handleEvent (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:8936:28)
at Chart.eventHandler (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:4680:26)
at listener (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:4609:21)
at HTMLCanvasElement.proxies.(anonymous function) (http://yeti/libraries/chart.js/dist/Chart.js?s=1519940896:10917:4)
if (typeof options.tooltips.callbacks.title === 'undefined') {
options.tooltips.callbacks.title = function (tooptipItem, data) {
return '';
};
}
if (typeof options.tooltips.callbacks.label === 'undefined') {
options.tooltips.callbacks.label = function (tooltipItem, data) {
return 'test';
};
}
Hi there
Thank you for your plugin. I think bower install it's not working with it. I'm trying:
bower install chartjs-funnel --save
And it says 'don't found'
Hey guys
I'm trying to use ChartFunnel on a project using ReactJS. I've tried using some things that i saw in this issue but unfortunatelly didn't have much success.
The console doesn't show any errors, but the chart doesn't render.
Does anyone achieved something with React and ChartFunnel ?
Thanks for the help :)
Hi, thank you for this great extension.
I can't run the demo example in my angular 4 application. Getting the following error on chart hover:
"ERROR TypeError: element.getCenterPoint is not a function"
The issue arises when I'm NOT using bundled js. So I import the following files:
"../node_modules/chart.js/dist/Chart.js",
"../node_modules/chartjs-funnel/dist/chart.funnel.js"
What am I doing wrong?
chartjs-funnel v 1.0.5
chartjs v 2.7.2
chartjs-plugin-datalabesl v 0.2.0
https://github.com/chartjs/chartjs-plugin-datalabels
chartjs-plugin-datalabels.js?s=1515881805:110 Uncaught TypeError: Cannot read property 'x' of null
at orient (chartjs-plugin-datalabels.js?s=1515881805:110)
at Object.fallback [as positioner] (chartjs-plugin-datalabels.js?s=1515881805:245)
at coordinates (chartjs-plugin-datalabels.js?s=1515881805:313)
at Label.draw (chartjs-plugin-datalabels.js?s=1515881805:484)
at Object.afterDatasetDraw (chartjs-plugin-datalabels.js?s=1515881805:739)
at Object.notify (Chart.js?s=1519940896:6754)
at Chart.drawDataset (Chart.js?s=1519940896:4452)
at Chart.drawDatasets (Chart.js?s=1519940896:4425)
at Chart.draw (Chart.js?s=1519940896:4389)
at Chart.render (Chart.js?s=1519940896:4347)
| orient | @ | chartjs-plugin-datal…js?s=1515881805:110
-- | -- | -- | --
| fallback | @ | chartjs-plugin-datal…js?s=1515881805:245
| coordinates | @ | chartjs-plugin-datal…js?s=1515881805:313
| draw | @ | chartjs-plugin-datal…js?s=1515881805:484
| afterDatasetDraw | @ | chartjs-plugin-datal…js?s=1515881805:739
| notify | @ | Chart.js?s=1519940896:6754
| drawDataset | @ | Chart.js?s=1519940896:4452
| drawDatasets | @ | Chart.js?s=1519940896:4425
| draw | @ | Chart.js?s=1519940896:4389
| render | @ | Chart.js?s=1519940896:4347
| callback | @ | Chart.js?s=1519940896:9876
| advance | @ | Chart.js?s=1519940896:3773
| startDigest | @ | Chart.js?s=1519940896:3746
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| startDigest | @ | Chart.js?s=1519940896:3754
| (anonymous) | @ | Chart.js?s=1519940896:3728
| requestAnimationFrame (async) | |
| requestAnimationFrame | @ | Chart.js?s=1519940896:3726
| addAnimation | @ | Chart.js?s=1519940896:3705
| render | @ | Chart.js?s=1519940896:4354
| update | @ | Chart.js?s=1519940896:4243
| construct | @ | Chart.js?s=1519940896:3944
| Chart | @ | Chart.js?s=1519940896:6215
I've been playing around with the chart.js library and up until now everything has been working. I want to add the funnel chart plugin but it doesnt seem to work with chartjs 2.8. I keep on getting the error "funnel" is not a chart type.
here are the resources i am including:
https://cdn.jsdelivr.net/npm/[email protected]
https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.funnel.js
https://cdn.jsdelivr.net/npm/[email protected]
I tried changing their order but still nothing. Any idea why this is happening?
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.