Use theme variables for network graph labels (#25634)

This commit is contained in:
Petar Petrov 2025-05-29 11:05:26 +03:00 committed by GitHub
parent 7471250a07
commit 77f7ca0368
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -494,6 +494,13 @@ export class HaChartBase extends LitElement {
smooth: false,
},
bar: { itemStyle: { barBorderWidth: 1.5 } },
graph: {
label: {
color: style.getPropertyValue("--primary-text-color"),
textBorderColor: style.getPropertyValue("--primary-background-color"),
textBorderWidth: 2,
},
},
categoryAxis: {
axisLine: { show: false },
axisTick: { show: false },