EyeballLabel Constructor
Initializes a new instance of the EyeballLabel class with up to three thresholds, which are used to define the value's divisor and suffix.
Namespace: Microsoft.PerformancePoint.Scorecards.ServerRendering.Reports
Assembly: Microsoft.PerformancePoint.Scorecards.ServerRendering (in Microsoft.PerformancePoint.Scorecards.ServerRendering.dll)
Syntax
'Declaration
Public Sub New ( _
threshold2 As String, _
divisor2 As String, _
suffix2 As String, _
threshold1 As String, _
divisor1 As String, _
suffix1 As String, _
threshold0 As String, _
divisor0 As String, _
suffix0 As String, _
culture As CultureInfo _
)
'Usage
Dim threshold2 As String
Dim divisor2 As String
Dim suffix2 As String
Dim threshold1 As String
Dim divisor1 As String
Dim suffix1 As String
Dim threshold0 As String
Dim divisor0 As String
Dim suffix0 As String
Dim culture As CultureInfo
Dim instance As New EyeballLabel(threshold2, _
divisor2, suffix2, threshold1, divisor1, _
suffix1, threshold0, divisor0, suffix0, _
culture)
public EyeballLabel(
string threshold2,
string divisor2,
string suffix2,
string threshold1,
string divisor1,
string suffix1,
string threshold0,
string divisor0,
string suffix0,
CultureInfo culture
)
Parameters
threshold2
Type: System.StringOptional. The third threshold.
divisor2
Type: System.StringThe divisor for the third threshold.
suffix2
Type: System.StringThe suffix for the third threshold.
threshold1
Type: System.StringOptional. The second threshold.
divisor1
Type: System.StringThe divisor for the second threshold.
suffix1
Type: System.StringThe suffix for the second threshold.
threshold0
Type: System.StringOptional. The first threshold.
divisor0
Type: System.StringThe divisor for the first threshold.
suffix0
Type: System.StringThe suffix for the first threshold.
culture
Type: System.Globalization.CultureInfoThe specific culture to use for this instance.
Remarks
The formula for creating a compact label includes a threshold, divisor, and suffix. A threshold defines the value's divisor and suffix. For example, if the threshold equals 1,000,000, the divisor equals 1,000,000, and the suffix equals "M, the resulting label for the value 12,000,000 is "12M". A threshold is ignored when its definition is a null reference (Nothing in Visual Basic) or empty.
Note
A different calculation automatically determines how many decimal places to use.
See Also
Reference
Microsoft.PerformancePoint.Scorecards.ServerRendering.Reports Namespace