【文件属性】:
文件名称:chartjs-card:家庭助理的Chart.js卡
文件大小:334KB
文件格式:ZIP
更新时间:2021-05-23 21:04:42
homeassistant hacs lovelace JavaScript
chartjs卡
家庭助理的Chart.js卡
通过HACS安装
该卡不在HACS中,但是您可以通过Custom repositories手动添加它
为此,请按照以下步骤操作: HACS->前端-> 3个点(右上角)->自定义存储库->(粘贴此github页面网址)
设定档
名称
类型
默认
描述
图表
细绳
图表类型
数据
就像chart.js文档一样,接受所有字段的模板
选项
就像chart.js文档一样
entitiy_row
布尔值
错误的
是否为实体行
custom_options
目的
去做
例子1
type : ' custom:chartjs-card '
chart : bar # Supports: ['line', 'radar', 'bar', 'horizontalBar', 'pie', 'doughnut', 'polarArea', 'bubble',
【文件预览】:
chartjs-card-master
----rollup.config.js(342B)
----yarn.lock(12KB)
----card.png(17KB)
----src()
--------index.js(8KB)
----img()
--------example1.jpg(32KB)
--------example2.jpg(21KB)
----README.md(2KB)
----dist()
--------chartjs-card.js(1.24MB)
----.gitignore(29B)
----hacs.json(92B)
----package.json(728B)