Add

<series> output = <series>.add(<constant> Addor Value)

<series> output = <series>.add(<series> Addor Series)

This function adds the calling series to either Addor Value or Addor Series.  If Addor Series is used, Addor Series and the calling series must have the same number of points and they are added point-wise.  If they do not have the same number of points the function call will throw an exception.  This function requires exactly one argument.

Examples:

var mySeries2 = mySeries.add(5);

var mySeries3 = mySeries.add(mySeries2);