2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / ChartData Class / MaxY Property

In This Topic
    MaxY Property (ChartData)
    In This Topic
    Gets the maximum Y value of all series.
    Syntax
    'Declaration
     
    Public ReadOnly Property MaxY As System.Double
    public System.double MaxY {get;}
    Remarks

    This property searches all series for the maximum Y value (excluding holes) each time it is called. If the value is to be used repeatedly within a loop, the value should be cached in a local variable.

    Note that all Y data arrays are searched, including Y, Y1, Y2, Y3 data arrays.

    See Also