|
Scale labels |
Posted by Brian P on Mar-24-2015 01:49 |
|
The appearance of the scale labels (see attached) is less than ideal; I suspect can be
improved, but am unsure what to do/how to proceed.
This is what I'm currently doing:
Call m.setScale(myScaleStart, myScaleEnd, myMajorTick, myMinorTick, 0)
hey thanks. Any suggestion/advice/etc much apprec.
brian p/canada
|
Re: Scale labels |
Posted by Peter Kwan on Mar-24-2015 03:28 |
|
Hi Brian,
The easiest method I can think of is not to use the long labels, as it is not common to use
long labels in meters. You may just use the labels 0, 1, 2, 3, .... 10, and then in the bottom
title, you can set the text as "x1000 Number of Patients". It is like the RPM meters in cars.
Even a car engine normally has thousands of revolutions per minute, the meter will just
show 0 to 10 (or some small numbers), with the meter label being "x1000 rpm".
For your case, one method is to simply set the meter scale as 0 to 10.
Call m.setScale(0, 10, 1, 0.5, 0)
When you add the pointer, you would need to add your actual value divided by 1000. When
you add the label on the top-left corner, you should use the actual value (without divided
by 1000).
Hope this can help.
Regards
Peter Kwan |
Re: Scale labels |
Posted by Brian Perry on Mar-24-2015 21:55 |
|
Okay, I'll into that.
Thanks for the prompt response; much apprec.
bp/canada |
|