1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Fix confine

This commit is contained in:
Aidan Timson
2025-12-17 16:03:41 +00:00
parent 042f163601
commit dd359a61cb
3 changed files with 6 additions and 0 deletions

View File

@@ -305,8 +305,10 @@ export class StateHistoryChartLine extends LitElement {
visualMap: this._visualMap, visualMap: this._visualMap,
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
renderMode: "html",
position: "bottom", position: "bottom",
align: "center", align: "center",
confine: true,
formatter: this._renderTooltip, formatter: this._renderTooltip,
}, },
}; };

View File

@@ -255,8 +255,10 @@ export class StateHistoryChartTimeline extends LitElement {
right: rtl ? labelWidth : 1, right: rtl ? labelWidth : 1,
}, },
tooltip: { tooltip: {
renderMode: "html",
position: "bottom", position: "bottom",
align: "center", align: "center",
confine: true,
formatter: this._renderTooltip, formatter: this._renderTooltip,
}, },
}; };

View File

@@ -335,8 +335,10 @@ export class StatisticsChart extends LitElement {
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
renderMode: "html",
position: "bottom", position: "bottom",
align: "center", align: "center",
confine: true,
formatter: this._renderTooltip, formatter: this._renderTooltip,
}, },
}; };