ioBroker / ioBroker.echarts

Show all history data in one GUI
Apache License 2.0
19 stars 3 forks source link

Factor to multiply values with #75

Closed Signum closed 1 year ago

Signum commented 2 years ago

I would like to multiply values by a certain factor.

Example: image

This is a graph showing the eletric power flow at home between my photovoltaic system, the house, the public network and the battery. However I would like to plot energy consumption above the X axis and energy generation below the X axis. Using energy (blue graph) is shown above the X axis as well as energy generated from the solar panels (yellow graph). I thought that I would just multiply the yellow values by "-1" to move them to the other side of the X axis but I failed to find such a setting.

And of course thanks so much for the adapter. The charts work and look awesome.

miege2k commented 2 years ago

I have the same issue. For help I would be very grateful.

uelpenich commented 2 years ago

Workaround: Use an alias or a device manager to calculate the value multiplied by the intended factor. You can also use special y-axis min and max value together with y-offset to get similar effects.

GermanBluefox commented 2 years ago

It has something common with https://github.com/ioBroker/ioBroker.echarts/issues/28

GermanBluefox commented 1 year ago

In 1.3.4 you can define the Formula: image

Signum commented 1 year ago

@GermanBluefox Thanks a lot. That's great news. Will version 1.3.4 be made available through the beta channel?

Apollon77 commented 1 year ago

1.3.4 was released yesterdaay evening and should appear today in Beta channel