Hi all,
Is there a way to have a bottom axe like YearMonth
ie : 200401 to 200512
It seems that between 200412 and 200501 I have also 200413,...200499
instead of 200412, 200501
Thanks a lot
Specific Bottom Axes
Hi.
Try setting your series XValues.DateTime property to True. The following code works fine here:
Try setting your series XValues.DateTime property to True. The following code works fine here:
Code: Select all
// Add some data (with *true* x-datetime values)
Series1.AddXY(EncodeDate(2004,11,1),10);
Series1.AddXY(EncodeDate(2004,12,15),3);
Series1.AddXY(EncodeDate(2004,12,31),7);
Series1.AddXY(EncodeDate(2005,1,2),5);
Series1.AddXY(EncodeDate(2005,2,3),1);
Series1.XValues.DateTime := True;
Series1.GetHorizAxis.DateTimeFormat := 'YYYYMM';
Series1.GetHorizAxis.Increment := DateTimeStep[dtOneMonth];
Marjan Slatinek,
http://www.steema.com
http://www.steema.com