Compare commits

...
1 Commits
Author SHA1 Message Date
Petar Petrov f5f6dfc3f4 Align history timeline X axis with line charts 2026-10-07 16:30:22 +03:00
2 changed files with 2 additions and 2 deletions
@@ -106,7 +106,7 @@ export class StateHistoryChartLine extends LitElement {
private _hiddenStats = new Set<string>();
@state() private _yWidth = MIN_Y_AXIS_WIDTH;
@state() private _yWidth = 0;
@state() private _visualMap?: VisualMapComponentOption[];
@@ -212,7 +212,7 @@ export class StateHistoryChartTimeline extends LitElement {
const labelWidth =
showNames && !insideLabels
? Math.max(this.paddingYAxis, this._yWidth)
: 0;
: this.paddingYAxis;
const labelMargin = 5;
const rtl = computeRTL(
this.hass.language,