Seite 1 von 1

Widget oh-trendline

Verfasst: 22. Dez 2024 16:39
von lenschith
Hallo in die Runde,
ist es möglich in openhab den Trendline Background mit der Verlaufsfarbe darzustellen?
Sollte in dieser Art aussehen:
verlauf.png
Ich habe das nicht geschafft. Vielleicht hat jemand einen Tipp ob das funktioniert.

Code: Alles auswählen

          - component: oh-trend
            config:
              style:
                background: transparent
                height: 100%
                width: 100%
                z-index: 1
              trendGradient: =props.trendGradient
              trendItem: =props.trenditem
              trendSampling: =props.trendSampling
              trendStrokeWidth: =props.trendStrokeWidth
              trendWidth: =props.trendWidth
              trendGradientDirection: top
Danke.
Gruß Lenschi