Custom labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Erwin
Newbie
Newbie
Posts: 7
Joined: Tue Jun 21, 2005 4:00 am

Custom labels

Post by Erwin » Thu Jan 19, 2006 8:59 am

Hi,

I have a teechart graph where my X-axe represents each inputvalue (datetime) of the input datafile. This means that on my x-axe a specific date (ex: 21/01/2005) can be displayed multiple times when it occures multiple times in the input datafile.

I've used custom labels to achieve this. The .XValues.DataMember contains a uniek identifier (rowid).

Now everything works fine.... except when a big number of labels (3490 labels)is passed. When passing a labelcollection of 3490 labels to the chart, the chart cannot be displayed anymore ( Error :

An unhandled exception of type 'System.IndexOutOfRangeException' occurred in system.windows.forms.dll

Additional information: Index was outside the bounds of the array.

)

Now actually it's quite understandable that this is a problem, because the labels wouldn't be readable anymore. But is there a way to make sure not all lables are displayed when using custom labels? Setting the Increment property of the X-axe has no effect.

Kind regards,
Erwin

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 Jan 20, 2006 12:30 pm

Hi Erwin,

I've been able to reproduce this and it is a bug which I have added to our defect list to be fixed for future releases
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

Erwin
Newbie
Newbie
Posts: 7
Joined: Tue Jun 21, 2005 4:00 am

Post by Erwin » Mon Jan 23, 2006 8:50 am

Hi,

Thanks for your reply. I'm pleased to hear that this problem is added to the defect list and will be fixed in future releases but that does not solve my problem.

This problem was detected in the production environment of our client and they want a solution for this problem right now.

I was trying to find a workaround for this problem but did not succeed.

Is it possible to provide a patch soon ?
Or is it possible to provide us a workaround for this problem ?

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 » Tue Jan 24, 2006 8:56 am

Hello Erwin,

OK, I've fixed this one and will try to get a Debug release out of TeeChart for .NET version 2 by the end of the week.
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/

Erwin
Newbie
Newbie
Posts: 7
Joined: Tue Jun 21, 2005 4:00 am

Post by Erwin » Fri Feb 10, 2006 2:43 pm

Hi Christopher,

Is it possible yet to release a new debug version in which this problem has been fixed ?

Kind regards,
Erwin

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 Feb 13, 2006 11:07 am

Hi Erwin,

We expect to release the debug build today.
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