Version

FormatLabel Property (SparklineModel)

Sets or gets a function which takes an object that produces a formatted label for displaying in the chart.

Function should return string and it takes 1 parameter: original value of label.

Example:

"function(val) { return typeof val === 'number' && val < 0 ? '(' + (-val) + ')' : val; }"
Syntax
'Declaration
 
Public Property FormatLabel As System.String
public System.string FormatLabel {get; set;}
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub