Using ExactDateTime = True on Week increment doesn't work
Posted: Fri Nov 26, 2004 1:38 pm
Hi,
When using ExactDateTime = True on an axis and the incement is a week the labels displayed doesnt fall on "exact weeks".
Is this a little bug.
Other increments seem to work.
When using ExactDateTime = True on an axis and the incement is a week the labels displayed doesnt fall on "exact weeks".
Code: Select all
TChart1.AddSeries scLine
TChart1.Series(0).AddXY #11/1/2004#, 1, "", 0
TChart1.Series(0).AddXY #11/8/2004#, 2, "", 0
TChart1.Series(0).AddXY #11/15/2004 2:00:00 AM#, 4, "", 0
TChart1.Series(0).AddXY #11/22/2004 3:00:00 AM#, 1, "", 0
TChart1.Axis.Bottom.SetMinMax #11/1/2004#, #11/30/2004#
'Uncommenting the line below makes the labels display on wrong dates (shows when scrolling).
'They should be "stable" when the chart is scrolled.
'If not uncommented, the values are stable at scroll (but then the chart don't display dates of cause)
'TChart1.Series(0).XValues.DateTime = True
TChart1.Axis.Bottom.ExactDateTime = True
TChart1.Axis.Bottom.Increment = 7
Other increments seem to work.