Page 1 of 1
Upgrade from 8.02 to 8.04
Posted: Thu Feb 19, 2009 3:02 pm
by 10048878
Hello,
I am using RAD Studio 2007 and a VCL.NET application and
I upgraded from Teechart Pro 8.02 to 8.04.
Now, when viewing a chart I get an index error.
A right mouse click on the chart shows 'Teechart Pro v8.04.11395 Win32'.
But it should be the .NET version!
Why this?
How can I easily change this?
Thanks and regards
Reinhard
Additional info
Posted: Fri Feb 20, 2009 8:59 am
by 10048878
Hello,
I forgot to mention teh error message (translated from german):
'Index was out of range. It must niozt be negativ or less than the list.
Parameter name: index.
Please help.
Thank you and regards
Reinhard
more infos
Posted: Fri Feb 20, 2009 9:26 am
by 10048878
Hello,
Just a Test:
I create a new vcl.net project.
I add a tchart component.
I want to add a serie.
Then an error message occurs:
'bds: the index was out of range'
Please help.
Reinhard
Posted: Fri Feb 20, 2009 10:28 am
by yeray
Hi Reinhard,
Yes, you are right. It seems that there is a problem with the series gallery window that don't allow you to add series at designtime. I've added it to the wish list as a high priority (TV52013884) to be fixed as soon as possible.
On the other hand, please, could you verify and delete the old references at Components/Installed NET Components.../Assembly Search Paths?
workaround?
Posted: Mon Feb 23, 2009 1:18 pm
by 10048878
Hi Yeray,
as you can see, the problem occurs in VCL.NET with TLineSeries and TPointSeries.
Is there any workaround possible?
Regards, Reinhard
Posted: Mon Feb 23, 2009 2:55 pm
by yeray
Hi Reinhard,
The only thing I can recommend for now is to create your series at runtime and disable any user access to the series' gallery if enabled.
Posted: Mon Feb 23, 2009 3:20 pm
by 10048878
Hi,
sorry, but creating the series at runtime gives the same problem
(Index error) when showing the form!
Series_m0 := TPointSeries.Create( Self );
Series_m0.ParentChart := Chart1;
Please have a look at the newsgroups or change my test project to
creating TPointSeries at runtime.
regards,
Reinhard
Posted: Mon Feb 23, 2009 4:16 pm
by yeray
Hi Reinhard,
I think you still could have old confusing references at your delphi's search path, library path and/or assembly path. Have you revised them?
The project you sent to us shows win32 at teechart's about that makes me think that this is not a vcl.net project. Do you create the project through File/New/VCL Forms Application - Delphi for .NET?
Your project shows me the series' gallery without errors at design time and crashes, as you say, when showing a populated series.
I've sent a simple VCL.NET project that creates a series and populates it at runtime to the mail account you used to send the project to us. Could you try to compile and run it?
Posted: Mon Feb 23, 2009 6:46 pm
by 10048864
Hi Yeras,
thank you for your help!
Nevertheless, I think it has something to do with the color.
Try:
//Series_m0.FillSampleValues(25);
Series_m0.addxy(1,2,'d',clGreen); // <--
Series_m0.addxy(4,5);
in your Simple_project and you will get the index error, sure.
Thanks and regards
Reinhard
Posted: Tue Feb 24, 2009 9:03 am
by yeray
Hi Reinhard,
Yes, you are right. It seems that there is happening something strange when drawing this chart because it crashes, as you said, when showing the form.
So, I've added it to the wish list (TV52013890) and we'll try to solve it as soon as possible.
Posted: Tue Mar 17, 2009 3:57 pm
by narcis
Hi Reinhard,
Just wanted to let you know that the issue has been fixed for the next maintenance release.