Change the number of decimal places in the Gauge Numeric Display

Applies to: Nevron Chart for .NET (Gauge for .NET)

How to change the number of decimal places in the Gauge Numeric Display?

When using the Numeric Display Gauge type, there may be a requirement to update/change the default formatting of the numeric display. In order to achieve this, you need to configure the Numeric Display Value Formatter. 



The following example demonstrates how to change the number of decimal places to 4:

[C#]

numericDisplay.ValueFormatter = new NNumericValueFormatter("0.0000");

[VB.NET]
numericDisplay.ValueFormatter = New NNumericValueFormatter("0.0000")


Article ID: 226, Created On: 10/15/2012, Modified: 10/15/2012