custom-cards / bignumber-card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transform values

riksarchen opened this issue · comments

Hello
Apex charts have a function to transform the values, any positivity to add this?

Example:
Sensor displaying energy usage in Watts.

In apex charts you can use:
Transform: return x / 1000
Unit: kW

it takes the value divides by 1000 and presents as kW instead of W.