mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Added zoom options to line graphs
This commit is contained in:
parent
7d997f7699
commit
8151de1ae0
@ -196,7 +196,14 @@
|
|||||||
format: 'H:mm'
|
format: 'H:mm'
|
||||||
},
|
},
|
||||||
lineWidth: 1,
|
lineWidth: 1,
|
||||||
chartArea:{left:'60',width:"95%"}
|
chartArea:{left:'60',width:"95%"},
|
||||||
|
explorer: {
|
||||||
|
actions: ['dragToZoom', 'rightClickToReset', 'dragToPan'],
|
||||||
|
keepInBounds: true,
|
||||||
|
axis: 'horizontal',
|
||||||
|
maxZoomIn: 0.1
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if(isSingleDevice) {
|
if(isSingleDevice) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user