Xceed Chart for WinForms v4.4 Documentation
Cumulative
Welcome to Xceed Chart for WinForms v4.4 > User Guide > Data Manipulation > Functions > Cumulative

Syntax

CUMSUM(A1)

Arguments

A1 must be an array.

Result

The function result is an array with the same size as A1.

Description

The function calculates the cumulative sum of the elements in the input array. Each element of the result is equal to the previous element of the result plus the current element of the input array. 

Example 1:

 

Expression: CUMSUM(A1)

arg1 5.8 3.2 1.0 6.9 1.7
result 5.8 9 10 16.9 18.6

Related Examples

Windows Forms: Data Manipulation\Functions\General Purpose Functions 1