File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 44![ ] ( demo2.gif )
55
66## [ Post in HomeAssistant community forum] ( https://community.home-assistant.io/t/plotly-interactive-graph-card/347746 )
7+
78You may find some extra info there in this link
89
910## Install through HACS
@@ -16,7 +17,7 @@ You may find some extra info there in this link
1617
1718## Card Config
1819
19- _ ** New** _ Visual Config editor available for Basic Configs (* )
20+ _ ** New** _ Visual Config editor available for Basic Configs (\ * )
2021
2122``` yaml
2223type : custom:plotly-graph
@@ -29,9 +30,12 @@ hours_to_show: 24
2930refresh_interval : 10
3031` ` `
3132
32- (*) I'm reusing the editor of the standard History Card. Cheap, yes, but it works fine. usually. or use yaml
33+ (\* ) I'm reusing the editor of the standard History Card. Cheap, yes, but it works fine. Use yaml for advanced functionality
34+
3335## Advanced
3436
37+ ### Filling, line width, color
38+
3539` ` ` yaml
3640type : custom:plotly-graph
3741entities :
@@ -55,6 +59,33 @@ hours_to_show: 24
5559refresh_interval : 10 # in seconds
5660` ` `
5761
62+ ### Range Selector buttons
63+
64+ ` ` ` yaml
65+ type : custom:plotly-graph
66+ entities :
67+ - entity : sensor.temperature
68+ refresh_interval : 10
69+ hours_to_show : 12
70+ layout :
71+ xaxis :
72+ rangeselector :
73+ " y " : 1.2
74+ buttons :
75+ - count : 1
76+ step : minute
77+ - count : 1
78+ step : hour
79+ - count : 12
80+ step : hour
81+ - count : 1
82+ step : day
83+ - count : 7
84+ step : day
85+ ` ` `
86+
87+ 
88+
5889## Features
5990
6091- Anything you can do with scatter and barcharts in plotly
You can’t perform that action at this time.
0 commit comments