Legend on the right gives an exception.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Legend on the right gives an exception.

Post by VH1 » Mon Jan 23, 2006 2:10 pm

Release 1.1.2179.21092

When a teechart has a width > 1095 and the legend is positioned on the right. An excpetion is thrown each time you click on the legend tab.

To recreate...

Add a teechart onto a form.
Width set to 1096
Right click and edit.
Go to legend tab.

Arguement exception occurs: '1001' is not a valid value for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.

Regards,

Vaughan

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 23, 2006 2:25 pm

Hi Vaughan,

I can not reproduce this here using the same release as you. Could you please give us some more information about your application environment or send us an example we can run "as-is" to reproduce the problem here?

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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Mon Jan 23, 2006 2:48 pm

Sorry,

I missed out a step before going to the legend tab.

All of this is done in designtime and also occurs at runtime.

Add a teechart onto a form.
Width set to 1096
Right click and edit.
Please add a tower series.
Go to legend tab.


Note, it gives similiar exceptions when you add different series types.

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 23, 2006 2:56 pm

Hi Vaughan,

Thanks for your reply but I'm still unable to reproduce it here. Have you checked on your project references that you use the build you mentioned?

Could you please let us know some more details about your environment (O.S., .NET Framework version, IDE Version, screen resolution, etc.).

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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Mon Jan 23, 2006 3:05 pm

Yes, I only have one version on my build machine.

Windows XP Pro SP2.
Framework 1.1.4322, SP1
Visual Studio .NET 2003 7.1.3088
Screen Resolution is 1920 by 1200.

Anything else required?

Regards,

Vaughan

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 Jan 25, 2006 10:33 am

Hi Vaughan,

Thanks for the information.

I've done several tests and haven't been able to reproduce this issue using Windows 2003 Server. However, the error could be reproduced in Windows XP but only at design-time. Could you please post the steps I should follow to reproduce it at run-time so that we can debug the project and try to find what's causing that error?

Thanks in advance for your feedback.
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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Wed Feb 15, 2006 9:32 am

Add a Teechart onto a form.
Set the Width property to 1096.
Set the legend visible and to be displayed on the right.
Add a commander onto the form.
Set the Chart property of the commander to the Teechart just added.
Run

Maximise the running application to the full screen (1920x1200)
Press Edit on the commander.
Please add a tower series from the editor.
Go to legend tab in the editor.

The exception should occur.

Thanks,

Vaughan

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

Post by Narcís » Thu Feb 16, 2006 11:35 am

Hi Vaughan,

Thanks for the information. I couldn't use the same resolution as you, I used 1280x1024 and couldn't reproduce the problem here. Can you please test if this also happens in another machine?
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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Thu Feb 23, 2006 10:09 am

Hi,

Sorry, I only get this exception when I use this monitor at 1920x1200 resolution.

I have used other monitors which do not support this resolution and it works fine, Maximum 1600x1200.

Regards,

Vaughan

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 Mar 01, 2006 10:32 am

Hi Vaughan,

Thanks for the information.

After some testing I could reproduce the problem using a dual monitor configuration which gave me an overall resolution of 2560x1024. I reproduced the problem using the built you mentioned. However I couldn't reproduce it using our current TeeChart for .NET v1 sources. So, I've built new assemblies and I'll e-mail them, to your forums profile e-mail address, so that you can test if they work at your end. Could you please let us know which are the results?

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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Tue Mar 20, 2007 11:21 am

This still applies in version 1.1.2531.28391?

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 Mar 20, 2007 12:52 pm

Hi VH1,

I've tested this again and couldn't reproduce the issue here following the steps you originally mentioned. Is there anything else we can do to reproduce the issue here?

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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Tue Mar 20, 2007 1:20 pm

I have tested this using a standard monitor...

Resolution set to 1600 by 1200.

Start with a form with width = 1100
Add a chart
Make the chart > 1096 width
Right click the chart
Select Edit
Select Legend

You get the exception every time. Its that simple.

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 Mar 20, 2007 2:38 pm

Hi VH1,

I can't reproduce the issue here using a 1280x1024 screen resolution and following the steps you mentioned.

Could you please check that TeeChart.dll reference in your projects is set to latest version available?

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

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Tue Mar 20, 2007 2:48 pm

I have only one reference: 1.1.2531.28391

I see I missed out a step again...

Resolution set to 1600 by 1200.

Start with a form with width = 1100
Add a chart
Make the chart > 1096 width
Right click the chart
Select Edit
Add a bar series
Select Legend

You get the exception every time. Its that simple.

Post Reply