Page 1 of 1

Re: Linear axis without nights or weekends

Posted: Mon May 23, 2005 8:10 am
by 9341341
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
>
>

Posted: Mon May 23, 2005 9:41 am
by Marjan
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

Re: Linear axis without nights or weekends

Posted: Wed May 25, 2005 6:26 am
by 9341341
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

Posted: Wed May 25, 2005 8:07 am
by narcis
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.

Linear axis without nights or weekends

Posted: Fri May 27, 2005 11:41 am
by 9341341
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