Automatic FontSize for Circular Gauge's MajorTickLabel

Gauge for WPF Forum

Posted 6 years ago by Ahmil Onas
Version: 13.2.0592
Avatar

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)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 6 years ago by Ahmil Onas
Avatar

I see. Thanks very much.

The latest build of this product (v2019.1 build 0682) was released 3 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.