Skip to content

Allow custom sizing in line chart face.

Andrew Geng requested to merge pteromys/libksysguard:master into master

Add line chart face config entries compactSizeAlong and compactSizeAlongAuto, allowing the user to choose a non-square size for along-panel direction when the line chart is in a panel.

(The motivation: on a 16:9 laptop screen, I have a vertical panel since rows are precious. And I like it somewhat wide ("60") so that I can read the clock panel widget. And in that situation, when the line chart defaults to square, it's hard to fit as many as I'd like!)

Like this on a panel of size 60:

Vertical panel Horizontal panel
vertical horizontal

I laid out the new settings like this (this is a slightly old screenshot; in the patch as uploaded, "Size along panel" is capitalized as "Size Along Panel" to be more consistent with the other labels):

settings

Merge request reports

Loading