Hide Comments
Hide Comments

Comments (0)

The Period and PeriodValue properties define the period for a function, i.e., over what time span or value range should the function be called. The Period divides the SourceChart values collection into chunks (usually based on a time span) and calls the FunctionType for every chunk.

The PeriodValue may be a percentage (between 0 and 1) or an Index Range. For example, call the function for 25% (PeriodValue=0.25;Period=cfpPercentageCount) of the SourceChart values, or call the function for every 5 (PeriodValue=5;Period=cfpIndexRange) SourceChart values.
 

Namespace: FMX.RS.ChartFunction

expandingSyntax

Delphi

public
  property PeriodValue: TRSChartValueType read FPeriodValue write SetPeriodValue;
 

Property Value

Type: TRSChartValueType

expandingRemarks

PeriodValue is only used for cftIndexRange, cftTimeRange, cftPercentageCount, and cftPercentage Periods.

expandingExamples

The following code divides up the SourceChart values into increments of 2 hours and 30 seconds each:

Delphi

RSChartFunction1.PeriodValue := EncodeTime(2,30,0,0);
 RSChartFunction1.Period := cfpTimeRange;

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb