Optimizing Chart Display Across Devices

Hi everyone,

I’ve been experimenting with charts in my OpenHAB setup, and I’m trying to figure out the best way to make them look sharp on both my smartphone and my larger monitor. On my Galaxy Note 4, the charts are super detailed, almost too much for the small screen. But when I switch to my 27-inch monitor with a resolution of 2500x1400 pixels, the charts look really pixelated. It’s a bit frustrating because I want everything to look good, whether I’m checking from my phone or sitting at my desk.

I came across some settings in the openhab.cfg file that control the chart display. Here’s what I have right now:

plaintext
chart:provider=default
chart:defaultHeight=400
chart:defaultWidth=800
chart:scale=1

I understand that chart:scale adjusts how the charts are rendered, but I’m not entirely sure how it interacts with the default height and width. If I increase the scale, will that help with the resolution on my bigger screen? Or should I be tweaking the default dimensions instead? I tried changing the scale to 2, but it didn’t seem to make much of a difference.

I also noticed that the charts sometimes load with really high resolution on my phone, which can be a bit overwhelming. Maybe there’s a way to balance the resolution so it adapts better to different screen sizes. I wonder if others have faced similar issues and how they’ve resolved them.

If anyone has tips or tricks for optimizing chart display across various devices, I’d love to hear them! Maybe there’s a setting I’m missing or a different approach altogether.

Cheers,
[Your Name]