Display all values together / Incorrect value "interpolation" for Step Graphs
Kaffeestand opened this issue · 0 comments
Displaying all (correct) values of all displayed graphs together in one tooltip isn't possible for step-charts.
Use case:
- multiple graphs displayed in one chart
- graph values with different ("unsynchronized") timestamps
- Step graph
if you set "No Interpolation in Tooltip":
The Hover-Tooltip will only show one value of one graph at one timestamp. it won't show the other value as they have slightly different timestamps
if you enable "Interpolation in Tooltip":
The Hover-Tooltip will only show all values of all graphs at a timestamp, but will linear interpolate the unavailable data based on the previous and next value.
This is correct for a native line chart, but incorrect for a step graph. Here the "interpolated" value should be the same constant value of the previous (or next) timestamp (according to the step diagram type)
"Interpolation"
Yellow 1st value: 7.21 kWh; 2nd value: 6.60 kWh
Incorrect "Interpolation": Yellow value should be 7.21 kWh, but is linear interpolated 6.92 kWh