forked from home-assistant/core
Added zoom options to line graphs
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user