Index

From: Marjan Slatinek
Subject: Re: XAxis date time
Date: Mon, 3 May 2004 18:47:45 +0200
Newsgroup: public.teechart6.general  

IMPORTANT NOTE: If you are a TeeChart registered customer, please post your
support questions at Steema Support monitored Forums for customers:
http://support.steema.com for a prompter reply.



Hi, Jeff.

> 1. On the 1st & last point display the date (on the axis that is).

The easiest solution would be to manually define two axis labels by using
the following code:

With Chart1.Axes.Bottom do
begin
Items.Clear;
Items.Add(your_start_date,DateToStr(your_start_date));
Items.Add(your_end_date,DateToStr(your_end_date));
end;

This is the easiest and by far most precise way to add axis label at
specific position. You can use the same approach for #2 as well.

--
Regards,

Marjan Slatinek
TeeChart Support
marjan@steema.com
--------------------------------------
"Jeff" wrote in message
news:cv#pik7KEHA.3824@TEEPC.Steema.local...
> I have a chart containing several line series that display the time in on
> the X axis. I display a lot of points so I purposly keep the date turned
> off.
>
> What I would like to do, but am not sure of is:
> 1. On the 1st & last point display the date (on the axis that is).
> 2. If the date rolls over midnight either display a bar or just display
the
> date on the along with the time along the axis.
>
> Any suggestions to move me along?
>
> Jeff
>
>