Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCharts > FMX.RS.ChartFunction > Classes > TRSFMXCustomChartFunction > Methods

TRSFMXCustomChartFunction.Median(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer) Method

Scroll Prev Top Next More

Calculates the median of all values from IndexLow to IndexHigh in the SourceChart and adds the median to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.

Namespace: FMX.RS.ChartFunction

Parameters

SourceChart

Type: TRSCustomChart

Chart to calculate the median from

TargetChart

Type: TRSCustomChart

Chart to add the calculated median to

IndexLow

Type: Integer

Lower bounds index into the SourceChart

IndexHigh

Type: Integer

Upper bounds index into the SourceChart
 

TimeStamp

Type: TDateTime

TimeStamp to attach to the new value

SourceDim

Type: Integer

TargetDim

Type: Integer

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb