Question

Automatic FontSize for Circular Gauge's MajorTickLabel

Posted 4 years ago by Avatar Ahmil Onas

Is there a way to set the Circular Gauge's MajorTickLabel FontSize automatically so that when the Circular Gauge is resized, its TickLabel's fontsize will be resized accordingly?

 

For example, if I resize the Height and Width of the CircularGauge, its MajorTickLabel FontSize will be resized too.


Comments (2)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Ahmil,

Yes, the FontSize property for the tick labels is of type Unit, which lets you do either pixel or percentage sizes.  So doing FontSize="12" will do a pixel size.  Doing FontSize="12%" will do a percentage relative to the gauge size.


Actipro Software Support
Posted 4 years ago by Ahmil Onas

I see. Thanks very much.

Information The latest build of this product (2018.1 build 0670) was released 7 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.