Fix zoom in statistic chart (#26034)

This commit is contained in:
Paul Bottein 2025-07-02 17:18:39 +02:00 committed by Bram Kragten
parent 45e9c51525
commit 1013647249

View File

@ -390,6 +390,7 @@ export class HaChartBase extends LitElement {
type: "inside",
orient: "horizontal",
filterMode: "none",
xAxisIndex: 0,
moveOnMouseMove: !this._isTouchDevice || this._isZoomed,
preventDefaultMouseMove: !this._isTouchDevice || this._isZoomed,
zoomLock: !this._isTouchDevice && !this._modifierPressed,