Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
LabelGauge (missing forum for that) - sensible LabelInterval?
posted

Is there an automatic for that?

I have some gauges that in various deployments have various larger scales (1-22 in one case, 1-168in the other).

I found that I either set the LabelInterval in code (which sould mean writing an algo to get a decent number) or it gets totally unprofessional.

Means, on the 128 step gauge, i have steps 16.6, 33.6, 50,4, 67.2, 84, 100.8, 117.6, 124.4 and 151.2

Sensibly, a human would likely go with 20 or 25 as step - there is ZERO sense in showing .x numbers for something that goes from 1 to nearly 170. When did you see an analog speedometer / tacho scale on a car last time that was showing non-integer numbers?

Any automatics for that that overlook or.... is that really so that the poor developer now has to write a helper function to get a sensible LabelInterval?

Parents Reply Children
No Data