Linear Gauge Text Format for Numbers

Gauge for WPF Forum

Posted 7 years ago by Manny Setegn
Version: 17.1.0651
Avatar

Is there a simple way to decide the precision of the values that are showing up on the Linear Gauge?  Currently, I am only able to see integers, and wanted to view these numbers with a precision of 2 decimal points.

 

Thanks!

Comments (1)

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

Hello Manny,

The LinearTickLabel* classes all have a TextFormat property you can set to specify a standard/custom numeric format. It is "{0:G}" by default.  The "Gauge / LinearGauge Features / Tick Marks and Labels" topic in the documentation that comes with the product mentions rounding and text format.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.