MainUI Tooltip offset / showing wrong day or index instead of Value (MainUI)

Hi,

when i try to aggregate data and take a look on the tooltip on IOS i see an index like 1,2,3,4,5,6 (s) instead of the value.
Anyone else is facing this issue?

openHAB 5.2.1 (Release Build)
MainUI Commit: bb45dd8b
UI: iOS App / MainUI Web View
Persistence: [z. B. rrd4j / InfluxDB]

Thanks!

yeah ive hit that on ios webview with aggregated charts. the tooltip sometimes shows the bucket index (1,2,3…) instead of the actual persisted value.

stuff that usually sorts it for me:

  • open the same chart in desktop chrome/safari first. if desktop is fine, its the ios app webview path.
  • if you set a custom tooltip formatter, try smartFormatter: false on oh-chart-tooltip (5.2 defaults smartFormatter on and it can override custom formatters).
  • for aggregate series, double-check the dimension/aggregation still matches what you expect after the last persistence change.

paste whether desktop mainui shows real values, plus which persistence and a snip of the chart yaml if youve got one.

Hi thanks for your reply,

When i use my tablet then the figures look right.

But when i press the „rotate“ icon on bottom right it turns back to the issue:

As shown above it depends if its rotated or not and not if its desktop or mobile.

When i save the page and uncheck the smart tool tip then it also works.

I assume this is given because in 90° switched view it works

I also noticed this behavior. The rotation setting seems to break the tooltip contents.

Okay, I’ve filed a github ticket: