mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
Use theme variables for network graph labels (#25634)
This commit is contained in:
parent
9f69347e1d
commit
228860a1ee
@ -494,6 +494,13 @@ export class HaChartBase extends LitElement {
|
|||||||
smooth: false,
|
smooth: false,
|
||||||
},
|
},
|
||||||
bar: { itemStyle: { barBorderWidth: 1.5 } },
|
bar: { itemStyle: { barBorderWidth: 1.5 } },
|
||||||
|
graph: {
|
||||||
|
label: {
|
||||||
|
color: style.getPropertyValue("--primary-text-color"),
|
||||||
|
textBorderColor: style.getPropertyValue("--primary-background-color"),
|
||||||
|
textBorderWidth: 2,
|
||||||
|
},
|
||||||
|
},
|
||||||
categoryAxis: {
|
categoryAxis: {
|
||||||
axisLine: { show: false },
|
axisLine: { show: false },
|
||||||
axisTick: { show: false },
|
axisTick: { show: false },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user