ValueFormatString

ValueFormatString can be used to set the format of the ScaleLabel values.

 

Type: String

Namespace: Visifire.Gauges

Assembly:

Silverlight:

SLVisifire.Gauges (in SLVisifire.Gauge.dll)

WPF:

WPFVisifire.Gauges (in WPFVisifire.Gauge.dll)

Windows Phone:

SLWpVisifire.Gauges (in SLWpVisifire.Gauges.dll)

Windows 8:

Win8Visifire.Gauges (in Win8Visifire.Gauges.dll)

 

This attribute applies to:

 

Syntax:

<vg:Gauge.LinearScales>

<vg:LinearScale ValueFormatString="#,0.0#"/>

</vg:Gauge.LinearScales>

 

Below is the gauge after setting ValueFormatString property to  "#,0.0#" in LinearScale.

 

ValueFormatString.JPG

 

 

Related Links:

  1. For more info, refer to Custom Numeric Format Strings.