Gathering detailed insights and metrics for chartjs-plugin-funnel-x
Gathering detailed insights and metrics for chartjs-plugin-funnel-x
Gathering detailed insights and metrics for chartjs-plugin-funnel-x
Gathering detailed insights and metrics for chartjs-plugin-funnel-x
npm install chartjs-plugin-funnel-x
Typescript
Module System
Node Version
NPM Version
77
Supply Chain
98.1
Quality
75
Maintenance
100
Vulnerability
100
License
JavaScript (90.56%)
HTML (9.44%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
16 Stars
50 Commits
17 Forks
4 Watchers
1 Branches
4 Contributors
Updated on Jul 08, 2022
Latest Version
1.1.3
Package Id
chartjs-plugin-funnel-x@1.1.3
Unpacked Size
831.30 kB
Size
212.95 kB
File Count
23
NPM Version
6.4.1
Node Version
10.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
24
The funnel plugin for Chart.js > 2.7
To download a zip, go to the chartjs-plugin-funnel on Github
To install via npm / bower:
1npm install chartjs-plugin-funnel --save
To configure the funnel plugin, you can simply set chart type to funnel
.
Simple example:
1var config = { 2 type: 'funnel', 3 data: { 4 datasets: [{ 5 data: [30, 60, 90], 6 backgroundColor: [ 7 "#FF6384", 8 "#36A2EB", 9 "#FFCE56" 10 ], 11 hoverBackgroundColor: [ 12 "#FF6384", 13 "#36A2EB", 14 "#FFCE56" 15 ] 16 }], 17 labels: [ 18 "Red", 19 "Blue", 20 "Yellow" 21 ] 22 } 23}
Funnel chart support upside-down drawing or against left or right side drawing.
This plugin works with datalabels plugin.
You can find documentation for Chart.js at www.chartjs.org/docs.
Reverse or not, you can set 'desc' to draw an upside-down funnel.
default is 'asc'.
The gap between to trapezium in our funnel chart. The unit is px.
default is 2
Draw element against left or right side.
default is 'auto'.
The top-width of funnel chart, defualt is 0
The bottom-width of funnel chart, default use the width of canvas.
The tooltips option is a special option for funnel chart, you should be careful if you want to rewrite the option.
The default option is
1{ 2 callbacks: { 3 title: function (tooltipItem, data) { 4 return ''; 5 }, 6 label: function (tooltipItem, data) { 7 return data.labels[tooltipItem.index] + ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index]; 8 } 9 } 10}
Chart.Funnel.js is available under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 3/13 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More