|
Set font size of major tick values on semi circle meter. |
Posted by Amol on Aug-05-2011 19:06 |
|
I am using ChartDirector to display Semi Circle Meter (gauge). To display Major,Minor and macro ticks I am using SetScale Function. Due to size restriction I want to reduce font size of the Major tick values displayed on semi circle meter, but I couldn't found any way to do it.
Please let me know how I can set font size of the major tick values which are displayed on scale.
Thanks in advance for your help. |
Re: Set font size of major tick values on semi circle meter. |
Posted by Peter Kwan on Aug-06-2011 01:33 |
|
Hi Amol,
The API to use is BaseMeter.setLabelStyle. For example, in VB/VBScript, it is like:
'Set label font to Arial Bold 8pt black
Call m.setLabelStyle("arialbd.ttf", 8, &H000000)
Hope this can help.
Regards
Peter Kwan |
Re: Set font size of major tick values on semi circle meter. |
Posted by Amol on Aug-08-2011 13:02 |
|
Hi Peter,
It works.
Thanks for your excellent and quick support. |
|