giraffe icon indicating copy to clipboard operation
giraffe copied to clipboard

feat: adding units to the gauge

Open zoesteinkamp opened this issue 4 years ago • 1 comments

This is the first step for issue 19880, this is the giraffe addition that needs to now be added to UI. Which is when i will close that issue.

But it does close this issue #343. Only thing to note is this does only add this functionality to gauge. If we want to add it to other graph types we need to create a separate issue for that.

zoesteinkamp avatar May 10 '21 18:05 zoesteinkamp

It seems like the pre-defined units have a fixed scale, and the scale is exponential. For example, time goes from seconds all the way to 30 days within the same gauge, with each evenly spaced section jumping from 1 minute -> 1 hour -> 12 hours -> 24 hours -> 30 days.

Wouldn't this cause the gauge to stay in a fixed position if my data set has only values between, say, 0 minutes to 100 minutes? The gauge would hardly move at all and it would be hard to distinguish between the low end versus the high end values.

And what happens if my data set goes beyond 30 days? Seems like the gauge would not be able to render it.

TCL735 avatar May 17 '21 18:05 TCL735