Defines the period (time span or value span) for chart functions
Namespace: RSChartConsts
Delphi
|
type
TRSChartFunctionPeriod = (
cfpSource,
cfpIndexRange,
cfpTimeRange,
cfpPercentageCount,
cfpPercentage,
cfpEntire,
cfpSecond,
cfpMinute,
cfpHour,
cfpDay,
cfpWeek,
cfpMonth,
cfpYear );
|
|
Name
|
Description
|
|
cfpDay
|
Use a period that covers an entire day, e.g., from 00:00:00.000 to 23:59:59.999
|
|
cfpEntire
|
Use all the values of the SourceChart as one period
|
|
cfpHour
|
Use a period that covers an entire hour, e.g., from 00:00:00.000 to 00:59:59.999
|
|
cfpIndexRange
|
Use a range of indices in the SourceChart.Values property as a period. First period is 0 to PeriodValue, second period is PeriodValue+1 to 2*PeriodValue, etc.
|
|
cfpMinute
|
Use a period that covers an entire minute, e.g., from 00:00:00.000 to 00:00:59.999
|
|
cfpMonth
|
Use a period that covers an entire month, e.g., from the first day of the month (00:00:00.000) to the last day of month (23:59:59.999)
|
|
cfpPercentage
|
Divide the entire SourceChart time span into a percentage of the time span, e.g., 0.25 means divides each period into 25% of the entire Maximum-Minimum time span of the SourceChart
|
|
cfpPercentageCount
|
Divide the entire SourceChart Values property into a percentage of the Values.Count, e.g., 0.25 means divides each period into 25% of the entire SourceChart.Values.Count
|
|
cfpSecond
|
Use a period that covers an entire second, e.g., from 00:00:00.000 to 00:00:00.999
|
|
cfpSource
|
Use the SourceChart.Values property as a period. Useful for copying SourceChart to TargetChart
|
|
cfpTimeRange
|
Use a custom time span (defined by PeriodValue) for the period, e.g., if PeriodValue is 10 minutes, divide the SourceChart values into 10 minute chunks starting from the 0th Value's time stamp
|
|
cfpWeek
|
Use a period that covers an entire week, e.g., from Monday 00:00:00.000 to Sunday 23:59:59.999.
|
|
cfpYear
|
Use a period that covers an entire year, e.g., from January 1st (00:00:00.000) to December 31st (23:59:59.999)
|
Top
|
Reference
• | RSChartFunction|TRSChartFunction |
|