{"id":29090019,"url":"https://github.com/chartjs/chart.barfunnel.js","last_synced_at":"2025-06-28T04:30:23.197Z","repository":{"id":51822540,"uuid":"59259453","full_name":"chartjs/Chart.BarFunnel.js","owner":"chartjs","description":"Bar Funnel Chart extension for Chart.js","archived":false,"fork":false,"pushed_at":"2020-05-09T13:18:56.000Z","size":53,"stargazers_count":67,"open_issues_count":9,"forks_count":38,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-05T04:36:04.977Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chartjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-20T02:45:18.000Z","updated_at":"2025-02-21T00:12:41.000Z","dependencies_parsed_at":"2022-08-23T09:01:32.261Z","dependency_job_id":null,"html_url":"https://github.com/chartjs/Chart.BarFunnel.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chartjs/Chart.BarFunnel.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartjs%2FChart.BarFunnel.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartjs%2FChart.BarFunnel.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartjs%2FChart.BarFunnel.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartjs%2FChart.BarFunnel.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chartjs","download_url":"https://codeload.github.com/chartjs/Chart.BarFunnel.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chartjs%2FChart.BarFunnel.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262375234,"owners_count":23301240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-28T04:30:20.911Z","updated_at":"2025-06-28T04:30:23.185Z","avatar_url":"https://github.com/chartjs.png","language":"JavaScript","readme":"# Chart.BarFunnel.js\n\nProvides a Bar Funnel Chart for use with [Chart.js](http://www.chartjs.org)\n\n## Documentation\n\nTo create a Bar Funnel Chart, include `Chart.BarFunnel.js` after `Chart.js` and then create the chart by setting the `type` attribute to `'barFunnel'`\n\n```javascript\nvar chart = new Chart({\n\ttype: 'barFunnel',\n\tdata: dataObject\n});\n```\n\n### Configuration\nThe Bar Funnel chart colored region and step labels can be configured by placing options into the config that is passed to the chart upon creation.\n\n```javascript\nnew Chart({\n\tconfig: {\n\t\tregion: {\n\t\t\tdisplay: true,\n\t\t\tborderColor: \"#F6C85F\",\n\t\t\tbackgroundColor: \"rgba(246, 200, 95, 0.2)\"\n\t\t},\n\n\t\telements: {\n\t\t\trectangle: {\n\t\t\t\tstepLabel: {\n\t\t\t\t\tdisplay: true,\n\t\t\t\t\tfontSize: 20\n\t\t\t\t\t// color: \"red\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n});\n```\n\n## Example\n![BarFunnel Example Image](barfunnel.png)\n\n## License\n\nChart.BarFunnel.js is available under the [MIT license](http://opensource.org/licenses/MIT).\n\n## Bugs \u0026 issues\n\nWhen reporting bugs or issues, if you could include a link to a simple [jsbin](http://jsbin.com) or similar demonstrating the issue, that would be really helpful.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartjs%2Fchart.barfunnel.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchartjs%2Fchart.barfunnel.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartjs%2Fchart.barfunnel.js/lists"}