Hide Comments
Hide Comments

Comments (0)

Defines the period (time span or value span) for chart functions

Namespace: RSChartConsts

expandingSyntax

Delphi

type 
  TRSChartFunctionPeriod = ( 
  cfpSource, 
  cfpIndexRange,  
  cfpTimeRange,  
  cfpPercentageCount,  
  cfpPercentage,  
  cfpEntire,  
  cfpSecond, 
  cfpMinute, 
  cfpHour, 
  cfpDay, 
  cfpWeek, 
  cfpMonth, 
  cfpYear ); 
 

expandingMembers

 

Name

Description

public enummember

cfpDay

Use a period that covers an entire day, e.g., from 00:00:00.000 to 23:59:59.999

public enummember

cfpEntire

Use all the values of the SourceChart as one period

public enummember

cfpHour

Use a period that covers an entire hour, e.g., from 00:00:00.000 to 00:59:59.999

public enummember

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.

public enummember

cfpMinute

Use a period that covers an entire minute, e.g., from 00:00:00.000 to 00:00:59.999

public enummember

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)

public enummember

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

public enummember

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

public enummember

cfpSecond

Use a period that covers an entire second, e.g., from 00:00:00.000 to 00:00:00.999

public enummember

cfpSource

Use the SourceChart.Values property as a period. Useful for copying SourceChart to TargetChart

public enummember

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

public enummember

cfpWeek

Use a period that covers an entire week, e.g., from Monday 00:00:00.000 to Sunday 23:59:59.999.

public enummember

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

expandingSee Also

Reference

RSChartFunction|TRSChartFunction

Comments (0)

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