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

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

    This property searches the 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