my charts are showing data in a completely unreadable way, since the font size on the axis and in the legend is far too big, see attachment. Problem occurs
-on iPad, iPhone and on Mac mini,
-in a browser on Basic UI, and in the openHAB app.
In addition, the charts show some funny triangular forms. Any clue for the reason?
Current system is
-openHAB 2.4.0
-running on Synology Diskstation DS218
Does anyone has a clue, how I can solve this issue?
Can’t reproduce such behaviour on my android devices ( app and chrome browser).
On which kind of devices did you have those? A browser could be on anything, windows PC, android phone,…
Edit:
Confirm you are using the chart elements on the sitemap and not a webview.
I have the same appearance on
-Safari on Mac mini (OSX Catalina)
-Safari on iPad Pro (iOS 13.4)
-Safari on iPhone XR (iOS 13.4.1)
-openHAB app (latest version) on iPad and iPhone.
For me it looks like as the charts are stored as pixel-graphics by the rrd4j persistence…
Interesting. Here are now two actual screenshots, the first one from basic UI on safari (OS X Catalina), the 2nd one from the web view (@opus: I had to change the period to D, since I just today started with persistence). Seems that the (readable) webview chart is somehow changed. Hence, there seems to be a bug causing some triangular shape.
@opus: Thank you for the link, I was searching the forum before, but did not detect it. Problems looks identical to mine. On my Synology I have Java 8 running. Will check if I can find a newer version. When I get better results, I’ll share with the forum.
I would not comment on the differences of both charts without knowing if they were build for the same period. rrd4j would show differences when selecting another duration.
You could check each and every data point using the REST API.
But that would be looking into direction of faulty data, you were asking for the font size, the thread posted above was talking about such problem. The last entries showed a solution by changing/updating the java version, although no Mac nor IPone user seemed to be part of these thread.
Thank you for your comment. Both charts were generated within 1 min, so the data is expected to be the same. Since (except for the different scale on the y-axis) the charts look similar, I don’t think that there’s a problem with the data persistence. The main problem I see is the “unreadability” of the legends and axis description. (The “triangles” I only regard as minor bug…).
Seems that updating Java on Synology is my next task… since this package is not downloadable automatically by the Synology DSM (… and I’m not so firm in LINUX to install updates manually…).
All understood, regarding the different charts, both should use the SAME period ( which I can’t verify without reading the scale).
Sorry, but can’t help on your Java/Synology problem. However, I’d check the used version before changing anything!
Just upgraded Java on my Synology to the latest version I could find, i.e. Java HotSpot™ 64-Bit Server VM (build 25.241-b07, mixed mode). I also tested the 32-Bit version since in some discussions there were problems with the 64-Bit version noted. But both without success. Charts still look the same. So I probably have to look for some alternative charts… or install everything on a RaspPi and go directly to influxDB with Grafana…
Don’t worry, @opus, at least I updated my Java version . As I see more and more obstacles running OH on my Synology (e.g. docker can’t be installed…), it’s just a question of time till I convert to a RaspPi.
Wish you a nice and long weekend and thank you for your effort,
Doc MC