Share via


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

  • divisor2
    Type: System.String

    The divisor for the third threshold.

  • suffix2
    Type: System.String

    The suffix for the third threshold.

  • divisor1
    Type: System.String

    The divisor for the second threshold.

  • suffix1
    Type: System.String

    The suffix for the second threshold.

  • divisor0
    Type: System.String

    The divisor for the first threshold.

  • suffix0
    Type: System.String

    The suffix for the first threshold.

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

EyeballLabel Class

EyeballLabel Members

Microsoft.PerformancePoint.Scorecards.ServerRendering.Reports Namespace