Hauptmenü

[FTUI 3] Charts

Begonnen von grossmaggul, 15 Januar 2021, 10:23:02

Vorheriges Thema - Nächstes Thema

cruser1800

Hallo,

ich habe in meiner Datenbank negative Werte und möchte diese aber Positiv darstellen folgender code wie in anderen Charts funktioniert nicht!

<ftui-chart-data background-color="#d6305650" color="yellow"
                         log="logdb"
file="HISTORY"
                         spec="MQTT2_Shelly_Steckdose_Solar:rpc_params_switch_0_apower | multiply(-1)"
[update]="MQTT2_Shelly_Steckdose_Solar:rpc_params_switch_0_apower:time"
type="line"
label="Solarstrom"
point-radius="0"></ftui-chart-data>

Wie kann man mit Werten in "spec" rechnen?

Danke Lutz

Guybrush