【文件属性】:
文件名称:chartjs-chart-sankey:Chart.js模块,用于创建sankey图
文件大小:841KB
文件格式:ZIP
更新时间:2021-03-22 03:44:57
JavaScript
chartjs-chart-sankey
v3.0.0-beta.10模块,用于创建sankey图
浏览器支持
支持所有最新的和最新的浏览器,包括但不限于:
Chrome合金
边缘
火狐浏览器
苹果浏览器
不支持Internet Explorer 11。
文献资料
要创建sankey图表,请在chart.js之后添加chartjs-chart-sankey.js,然后通过将type属性设置为'sankey'来创建图表
new Chart ( ctx , {
type : 'sankey' ,
data : dataObject
} ) ;
配置
例子:
new Chart ( ctx , {
type : 'sankey' ,
data : {
datasets : [ {
label : 'My sankey'
【文件预览】:
chartjs-chart-sankey-master
----rollup.config.js(1KB)
----.github()
--------release-drafter.yml(859B)
--------workflows()
----src()
--------flow.js(3KB)
--------controller.js(8KB)
--------layout.js(5KB)
--------index.esm.js(98B)
--------index.js(138B)
----sankey.png(283KB)
----.eslintrc.yml(685B)
----.codeclimate.yml(418B)
----LICENSE(1KB)
----test()
--------fixtures()
--------.eslintrc.yml(171B)
--------specs()
--------index.js(403B)
----samples()
--------circular.html(745B)
--------contries.html(3KB)
--------.eslintrc.yml(148B)
--------utils.js(1KB)
--------basic.html(735B)
--------energy.html(7KB)
--------sankey.html(4KB)
--------style.css(147B)
----README.md(2KB)
----.gitignore(89B)
----karma.conf.js(2KB)
----.eslintignore(25B)
----package-lock.json(134KB)
----package.json(2KB)