Linear Gauge Text Format for Numbers

Posted 2 years ago by Avatar Manny Setegn

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.



Comments (1)

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

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
Information The latest build of this product (2018.1 build 0674) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.