Gexle
(Gexle)
1
Hi
I’m new here and am trying to adjust the trendline here, see the picture…
How can I put this in my yaml code?
component: oh-label-card
config:
background: "linear-gradient(to top right, #D3D3D3 50%, #ffe74c 100%)"
trendItem: Wetterinfo_Aussentemperatur
action: analyzer
actionAnalyzerItems:
- Wetterinfo_Aussentemperatur
item: Wetterinfo_Aussentemperatur
title: Aussenfühler
noBorder: false
noShadow: false
outline: false
vertical: false
iconUseState: false
iconSize: 0
trendSampling: "5"
fontWeight: bold
icon: f7:thermometer
iconColor: black
Can someone please tell me or help me with this?

Thanks
What do you want to adjust? I see a picture with a trendline but no information what you want to change.
Gexle
(Gexle)
3
Hello ups sorry
The trend line
The color of the line…
trendGradient:
- "#ff0000"
It’s pretty easy - if you type “trend” in your yaml code and hit “ctrl+space” it shows you all options:

1 Like
Gexle
(Gexle)
6
OK thank you
Where should I insert that in my YAML exactly, so at which point?
component: oh-label-card
config:
background: "linear-gradient(to top right, #D3D3D3 50%, #ffe74c 100%)"
trendItem: Wetterinfo_Aussentemperatur
trendGradient:
- "#ff00ff"
action: analyzer
actionAnalyzerItems:
- Wetterinfo_Aussentemperatur
item: Wetterinfo_Aussentemperatur
title: Aussenfühler
noBorder: false
noShadow: false
outline: false
vertical: false
iconUseState: false
iconSize: 0
trendSampling: "5"
fontWeight: bold
icon: f7:thermometer
iconColor: black
Gexle
(Gexle)
8
Thank you very much
Does the number also change color???
Will try tomorrow Thank you
That’s the hex code of the colours: Color Picker — HTML Color Codes
Gexle
(Gexle)
10
Thanks Sascha
Can I change the number to another color?

Gexle
(Gexle)
11
Hi
I’ve tried it but everything I do doesn’t work. Add a different color to the number…
Does that have to go back exactly where or what does the code have to look like?
Maybe you can help me again Thanks in any case
To be honest, i currently don’t see a way to change this.
It seems that the text color is not carried out to the config:
The only possibility would be creating your oh-label-card out of the f7 components directly, but that’s a very steep way.