|
DateTimeMode
Purpose This property enables the Graph and Scientific Graph to treat X Axis data as serially formatted date/time data.
Graph VCL Enumerations eDateTimeMode = (gNumericXData, gVBDateTime, gDelphiDateTime);
Scientific Graph VCL Enumerations eDateTimeMode = (sgNumericXData, sgVBDateTime, sgDelphiDateTime);
Comments PeData.DateTimeMode members of Pego.PeData, Pesgo.PeData
VB, Access, and FoxPro store date/time data as the number of days since 12/31/1899. In all cases, the fraction portion of date/time format represents the fraction of a day.
If your data describes both date and time, then you will need to store x data as double precision via the UsingXDataII property. If your data describes just dates, then you can use XData to store single precision data.
The Graph object uses this property in conjunction with DeltaX, DeltasPerDay, StartTime., and AutoXData.
The Scientific Graph can use this property standalone, or use in conjunction with StartTime, EndTime, and SpecialDateTimeMode.
Note that the use of DateTimeMode is not compatible with ManualXAxisTicknLine. If you need a specific looking date/time scale, you will have to manually produce this scale as described in Chapter7, Question 22.
See Also: DateTimeMilliSeconds, PEcreateserialdate, PEdecipherserialdate, XData, XDataII, and UsingXDataII.
Scales accounting for Day Light Savings can be constructed if DayLightSavings is TRUE.
Refer to Chapter 7, Question 19 for a discussion of handling date/time within your charts.
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |