Custom MultiLine DateTime Axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

Custom MultiLine DateTime Axis

Post by glikoz » Mon Jan 02, 2006 1:31 pm

We try to make "Technical Analysis" application as you know ...
Nature of Technical Analysis , DateTimeAxis (Bottom Axis) doesnt have gap.. Not only weekends but also some special days "Stock Market" could be close..So DateTime Axis couldnt behave as Calendar..For example
if our stock market is closed between 13 October and 18 October ,the data of 18th October will come after 13th October's..

And because of TeeChart doesnt have IgnoreNullDateTime method for DateTimeAxis we have to set

Code: Select all

TChart1.Series[0].ValuesLists[0].DateTime = false;
And we have to set Labels manually ..

Code: Select all

TChart1.Series[0].Labels = MyStringListLabels;
And these problems not enough for us.. we will make new approach for DateTime Axis as you see:

#Removed by Glikoz :)#

i will try to show DateTime Axis as Year-Month,Month-Week,Month-Day pairs to amount of data...(Multi custom Line on bottom DateTime Axis)

What is your advice ..Is there any development on the DateTime Axis ?


Thx..
Last edited by glikoz on Wed May 03, 2006 11:06 am, edited 1 time in total.

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Mon Jan 02, 2006 3:12 pm

Hi -

The TeeChart for .NET control is in a constant state of development as ideas from both the development team and clients are incorporated into the code.

To create the DateTime axis you are after, I suggest that you make use of the TeeChart Canvas available to you in the AfterDraw event. You may consider drawing boxes around the automatically generated labels and then manually writing out the names of the months.

If you need a simple code example to get you started please do not hesitate to let me know and I'll do my best to help you.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

How could i add Label to right side of tick ?

Post by glikoz » Fri Jan 06, 2006 1:05 pm

(For Bottom Axis)
As Default Labels are located bottom of the ticks...

How could i add Label to right side of tick ?

And one extra question ..

How could i add label with minor tick ?


Many Thx..

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

Post by Narcís » Mon Jan 09, 2006 2:15 pm

Hi glikoz,

According to Christopher Ireland's suggestions, which is the exact problem you have. Could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files 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

glikoz
Newbie
Newbie
Posts: 50
Joined: Fri Oct 07, 2005 4:00 am

Performance Problem

Post by glikoz » Mon Jan 16, 2006 11:35 am

Because of performance issues i couldnt use AfterDraw event ..
Could you suggest any alternative method for these requirements:
How could i add Label to right side of tick ?
How could i add label with minor tick ?
Thx for your sincere aids ..

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

Post by Narcís » Tue Jan 17, 2006 12:46 pm

Hi glikoz,

Could you please send us some code or an example project we can run "as-is" to reproduce the problem here? Could you also send us the TeeChart images you are getting with annotations of which are your exact problems?

You can post your files 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

Post Reply