Skip to main content

TdxRangeControlDateTimeScale.GetDateInterval(TDateTime,TDateTime) Method

Returns the specified range of date/time values as a fraction of the range control‘s viewport.

Declaration

function GetDateInterval(const AMin: TDateTime; const AMax: TDateTime): Double; virtual;

Parameters

Name Type
AMin TDateTime
AMax TDateTime

Returns

Type
Double

Remarks

Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetDateInterval function is called internally by the range control to calculate the boundaries of the date/time range selection.

The AMin and AMax parameters are used to specify the lower and upper values defining the date/time range selection.

See Also