Font size in Android Openhab app charts?

Is it possible to increase the font size in a chart in the openhab android app?
Currently I cannot read any of the text in the chart since it is way too small.
Fontsize on other things in the app is ok.
/Claes

1 Like

Hi!

Try this change in the cfg file:

chart:scale=0.5

For me it works.

cheers
Martin

2 Likes

Works for me to, even if i doesn’t understand the mechanism.

Thomas

Perfect! It works.
Thanks!
/Claes

This sets a scaling factor when generating the PNG… What happens is the UI requests an image of a certain size and this scale factor changes the size. This effectively makes the image smaller (ie 1/2 size) which when displayed within the UI (which always displays it within the available space) has the effect of appearing to increase the size of the text rather than shrinking the size of the image.

Chris

1 Like

Thanks for the description. Now i got it.

Thomas

I’m using OH2, seeing the same font problems. If someone has a moment could they please indicate the .cfg file to change?

Thanks

I have the same problem in OH2. did you find a solution? I tried adding it to runtime.cfg, but that did not really do anything.

Hi!

@Dibbler42 and @chris: could you please point out, where the file is located? I’m using apt-based installation of openHAB2 from unstable repository but don’t find it (grep -r “chart:” * doesn’t find anything in /var/lib or /etc).

Thanks!