Page 1 of 1

Custom MultiLine DateTime Axis

Posted: Mon Jan 02, 2006 1:31 pm
by 9638762
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..

Posted: Mon Jan 02, 2006 3:12 pm
by Chris
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.

How could i add Label to right side of tick ?

Posted: Fri Jan 06, 2006 1:05 pm
by 9638762
(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..

Posted: Mon Jan 09, 2006 2:15 pm
by narcis
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.

Performance Problem

Posted: Mon Jan 16, 2006 11:35 am
by 9638762
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 ..

Posted: Tue Jan 17, 2006 12:46 pm
by narcis
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.