Automatic FontSize for Circular Gauge's MajorTickLabel

Gauge for WPF Forum

Posted 6 years ago by Ahmil Onas
Version: 13.2.0592

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

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

I see. Thanks very much.

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

Add Comment

Please log in to a validated account to post comments.