Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCharting > RSChartFunction > Classes > TRSCustomChartFunction > Methods

TRSCustomChartFunction.Average(TRSCustomChart,Integer,Integer,TDateTime,Integer) Method

Scroll Prev Top Next More

Calculates the average of all values from IndexLow to IndexHigh in the SourceChart and returns the average

Namespace: RSChartFunction

Parameters

SourceChart

Type: TRSCustomChart

Chart to calculate the average from

IndexLow

Type: Integer

Lower bounds index into the SourceChart

IndexHigh

Type: Integer

Upper bounds index into the SourceChart
 

TimeStamp

Type: TDateTime

TimeStamp of the new value

SourceDim

Type: Integer

Return Value

Type: TRSChartValueType

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb