Linear Gauge Text Format for Numbers

Gauge for WPF Forum

Posted 2 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 2 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 (v2019.1 build 0683) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.