Automatic FontSize for Circular Gauge's MajorTickLabel

Gauge for WPF Forum

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

I see. Thanks very much.

The latest build of this product (v2018.1 build 0675) was released 13 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.