mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Fix zoom in statistic chart (#26034)
This commit is contained in:
parent
3e1341a731
commit
cc68a087a2
@ -390,6 +390,7 @@ export class HaChartBase extends LitElement {
|
|||||||
type: "inside",
|
type: "inside",
|
||||||
orient: "horizontal",
|
orient: "horizontal",
|
||||||
filterMode: "none",
|
filterMode: "none",
|
||||||
|
xAxisIndex: 0,
|
||||||
moveOnMouseMove: !this._isTouchDevice || this._isZoomed,
|
moveOnMouseMove: !this._isTouchDevice || this._isZoomed,
|
||||||
preventDefaultMouseMove: !this._isTouchDevice || this._isZoomed,
|
preventDefaultMouseMove: !this._isTouchDevice || this._isZoomed,
|
||||||
zoomLock: !this._isTouchDevice && !this._modifierPressed,
|
zoomLock: !this._isTouchDevice && !this._modifierPressed,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user