Xceed Chart for WinForms v4.4 Documentation
Welcome to Xceed Chart for WinForms v4.4 / User Guide / Data Manipulation / Functions / Min
In This Topic
    Min
    In This Topic

    Syntax

    MIN(A1 [; ByEveryN])

    Arguments

    A1 must be an array.
    ByEveryN is an optional argument: an integer constant, greater or equal to 1.

    Result

    Returns a scalar value, which is the minimum value of the elements in the array A1.
    If ByEveryN is supplied, then the function calculates the minimum of every N successive elements. The result is an array.

    Description

    Calculates the min value of all the elements in the input array, or the min value of every N successive elements in the input array.  

    Example 1

    Expression: MIN( arg1 )

    arg1 11 7   3 5 6

    Result: 1 

    Example 2 : (min by every 2 elements) 

    Expression: MIN( arg1; 2 )

    arg1 11 7   3 5 6
    result 7 3  

    Related Examples

    Windows Forms: Data Manipulation\Functions\Average, Min, Max