TdxRangeControlDateTimeScales Class
A set of date/time scales that can be displayed on the range control‘s ruler.
Declaration
TdxRangeControlDateTimeScales = class(
TcxOwnedPersistent
)
Remarks
This class provides the following members that allow you to:
Change the active scale and/or customize scales displayed on the range control’s ruler (Day, Hour, Minute, Month, Quarter, Week, and Year);
Obtain a specific date/time scale instance by its measurement unit (GetScale);
Add/remove custom date/time scales to/from the scale set (RegisterScale and UnRegisterScale).
Note that in order to access the type-specific properties and methods of particular predefined scales within the scale set, you need to cast returned scale objects to the TdxRangeControlPredefinedDateTimeScale or TdxRangeControlPredefinedDateHeaderScale type, depending on the data selection and visualization model currently employed by the range control.
A TdxRangeControlDateTimeScales object is referenced by the Scales property provided by the TdxRangeControlCustomDateTimeClientProperties class and its descendants.