Re: Linear axis without nights or weekends

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
trydal
Newbie
Newbie
Posts: 9
Joined: Fri Mar 18, 2005 5:00 am

Re: Linear axis without nights or weekends

Post by trydal » Mon May 23, 2005 8:10 am

Hi Narcís

The problem with that demo is that it does not contain the source code which should demonstrate a proper solution. I remember that I have seen a version of the demo earlier which contained the source, but I have tested all your demos now and none of them contains the source.

Can you please tell me where I can find a demo that contains this source?

Regards
Frode


Narcís Calvet wrote:

>Hi Frode,

>Yes, you can find an example of that at the TeeChart features demo searching
for "weekends". You will find that demo at the TeeChart program group
installing from the binaries installers. You can also download it from
http://www.teechart.net/files/vcl/publi ... ee7New.zip.

--
Best Regards,

Narcís Calvet
http://support.steema.com

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



"Newsgroups" <ftrydalwork@hotmail.com> wrote in message
news:ty6HbaDXFHA.300@TEEPC.Steema.local...
> Hi.
>
> Do anybody here know how to make the chart have a linear (time-aware) X
> axis but not show the nights or weekends (where there are no data)?
>
> I have seen a lot of solutions where they simply set
> XValues.DateTime:=false; but this makes the axis unaware of the time and
> is therefore not a solution tat I can use.
>
> I have TeeChart 7.04 with full source so if there's somebody who have
> changed some code in the source to get this up and running, every hint on
> how to do it is highly appreciated.
>
> Regards
> Frode
>
>

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon May 23, 2005 9:41 am

Hi.

I think demo does include full sources so by looking at "candle-no weekends" example you should be getting some ideas how to handle non-uniform axis scales. Additionally, you might also find the following posts quite interesting:
link 1
link 2
Marjan Slatinek,
http://www.steema.com

trydal
Newbie
Newbie
Posts: 9
Joined: Fri Mar 18, 2005 5:00 am

Re: Linear axis without nights or weekends

Post by trydal » Wed May 25, 2005 6:26 am

I found the example code in the binary installer, but the sollution described there is from my viewpoint only a walkaround of the problem. You are just normalizing the data which in my case is not an option.

I need a bottom axis that is dateTime and which can do the following : Remove the time gap from the last datapoint in the chart till midnigh and from midnight till the first datapoint. This would remove all "dead" spaces in the chart.

Is there any way to do this?

Frode

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

Post by Narcís » Wed May 25, 2005 8:07 am

Hi Frode,

Could you please post an example we can run "as-is" so that we understand what are you really trying to achieve?

You can post your examples at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.

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

trydal
Newbie
Newbie
Posts: 9
Joined: Fri Mar 18, 2005 5:00 am

Linear axis without nights or weekends

Post by trydal » Fri May 27, 2005 11:41 am

Hi Narcis.

The example of what I want is demonstrated in the following images:

http://www.fragstealer.net/images/with_ ... ekends.jpg
http://www.fragstealer.net/images/witho ... ekends.jpg

Regards
Frode

Post Reply