Can I Set offset for Axis or make offset for scLine

TeeChart for ActiveX, COM and ASP
Post Reply
Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Can I Set offset for Axis or make offset for scLine

Post by Nuzur » Fri Oct 27, 2006 8:52 am

Hi to all!
Do Axis can have offset to one value forward?
Or make offset in scLine like in scBar

Best Regards Nuzur.

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

Post by Narcís » Fri Oct 27, 2006 9:12 am

Hi Nuzur,

Yes, you can use axes minimum and maximum offset as shown here.
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

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Fri Oct 27, 2006 9:22 am

narcis wrote:Hi Nuzur,

Yes, you can use axes minimum and maximum offset as shown here.
You don't understand. I need set simply offset not for maximum mininmux.
When first value show to second point, second point to third and so go on.
I need move axis for one value forward.

Situation is going worse. I need offset bottom value that represent by string what represent date-time :cry:

I try get min\max from bottom and left( double) and it return zero :(

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

Post by Narcís » Fri Oct 27, 2006 9:58 am

Hi Nuzur,
You don't understand. I need set simply offset not for maximum mininmux.
When first value show to second point, second point to third and so go on.
I need move axis for one value forward.
Ok, then you can modify labels text in the OnGetAxisLabel event.
Situation is going worse. I need offset bottom value that represent by string what represent date-time
I don't understand the exact problem but you may need to do some type conversion.
I try get min\max from bottom and left( double) and it return zero
You need to let the chart draw itself before to do all properties calculations and thus axes values. Before using this code you should make the call below to force the chart being internally painted.

Code: Select all

TChart1.Environment.InternalRepaint
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

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Fri Oct 27, 2006 10:12 am

Ok it's hard to explain only use words i'll write into -
steema.public.attachments

Nuzur
Newbie
Newbie
Posts: 32
Joined: Thu Nov 03, 2005 5:00 am
Contact:

Post by Nuzur » Wed Nov 08, 2006 11:01 am

I still wait reply into conference :(

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 Nov 08, 2006 4:30 pm

Hi Nuzur,

Ok, I just replied at the newsgroups. However, a very small change to the code was necessary to display the series as you want.
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

Post Reply