Re: Bottom axis - change minimum time can not see date edit

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
nileiqi
Newbie
Newbie
Posts: 16
Joined: Wed May 03, 2006 12:00 am

Re: Bottom axis - change minimum time can not see date edit

Post by nileiqi » Thu Jan 18, 2007 1:10 am

Hi,

After adding a series line and set bottom axis format as datetime from edit chart, then entering chart->axis->bottom axis->change minmum, sometimes I can see two control edits - time and date, and time edit value is 00:00:00, however, sometime, I can only see time edit, date edit disappears, why this will happen ? if it does happen, how can I get date edit come back ? Thanks

Daniel

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 18, 2007 8:14 am

Hi Daniel,

Which TeeChart version are you using?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

nileiqi
Newbie
Newbie
Posts: 16
Joined: Wed May 03, 2006 12:00 am

Post by nileiqi » Thu Jan 18, 2007 10:44 am

Hi Narcis,

At moment I am using V7.08 standard version. I have just order a pro version, but have not installed yet.

Thanks

Daniel

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 18, 2007 10:49 am

Hi Daniel,

Are the series associated to the affected axis set to DateTime XValues? For example:

Code: Select all

  Series1.XValues.DateTime:=true;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 18, 2007 10:59 am

Hi Daniel,

I could finally reproduce what you reported here. This happens when series has not data and by default, the minimum value is a Time value. For example, when you populate series with DateTime values covering several days, as in the code snippet below, both values are available at the editor.

Code: Select all

  Series1.Clear;
  Series1.AddXY(EncodeDate(2007,1,1),random);
  Series1.AddXY(EncodeDate(2007,1,2),random);
  Series1.AddXY(EncodeDate(2007,1,3),random);
  Series1.AddXY(EncodeDate(2007,1,4),random);
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

nileiqi
Newbie
Newbie
Posts: 16
Joined: Wed May 03, 2006 12:00 am

Post by nileiqi » Thu Jan 18, 2007 11:32 pm

Thanks Narcis,

I got it.

Kind regards

Daniel

Post Reply