conky icon indicating copy to clipboard operation
conky copied to clipboard

[Enhancement]: clamp (ceil) graph values to first unit

Open dicktyr opened this issue 4 years ago • 6 comments

please consider implementing an option to force rounding up of minimal values which otherwise fall below the threshold of visibility in a given graph i.e. values between zero and the first visible unit

for example network graphs can be troublesome as their values span such a large range causing small values to go by without being displayed (logarithmic scaling is not satisfactory for some cases)

this feature is especially useful for small graphs such as those in a menu bar or status panel/strip to be sure that even small values will be displayed

in consideration of high resolution displays perhaps the option should specify a number of pixels (as a single pixel may still be nearly invisible)

e.g. a option value of 4 would cause any graph value between zero and the normal threshold to paint the first 4 pixels (default option value: 1 pixel)

dicktyr avatar Feb 12 '21 03:02 dicktyr

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] avatar Dec 11 '22 02:12 github-actions[bot]

still relevant

dicktyr avatar Dec 13 '22 02:12 dicktyr

can I work on this issue?

prrajput1199 avatar Jan 19 '23 15:01 prrajput1199

I want to work on this issue.

harshit110927 avatar Oct 09 '23 10:10 harshit110927

@prrajput1199 and @harshit110927, are you still interested in implementing this feature?

Caellian avatar Apr 11 '24 13:04 Caellian

This should be pretty straightforward to implement. Graph drawing code is in conky.cc:1282.

Be sure to document the changes.

Caellian avatar Apr 11 '24 13:04 Caellian