Adjust trend line

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?

bild

Thanks

What do you want to adjust? I see a picture with a trendline but no information what you want to change.

Hello ups sorry

The trend line
The color of the line…

Can you help me???

  trendGradient: 
    - "#ff0000"

It’s pretty easy - if you type “trend” in your yaml code and hit “ctrl+space” it shows you all options:
image

1 Like

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

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

Thanks Sascha

Can I change the number to another color?

Unbenannt

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.