v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JwSwing
Newbie
Newbie
Posts: 1
Joined: Wed Apr 04, 2012 12:00 am

v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by JwSwing » Mon Apr 09, 2012 10:35 am

Hello,
i have a problem in last release of TChart. I'm using Delphi XE2, but i have also the problem in Delphi 2010. If i define two sub-charts in one chart with help of TChartSubTool, always the ide forget the settings of name-properties of TSubcharts.
This cause a exception, if i not rename the names after each restart of delphi xe IDE.

7798012e +00a ntdll.dll KiUserExceptionDispatcher
758cb9a5 +041 KERNELBASE.dll RaiseException
0048cd5e +05a Shareholder.exe System.Classes 12934 +6 TComponent.SetName
005133f9 +06d Shareholder.exe Vcl.Controls 5967 +5 TControl.SetName
00484682 +102 Shareholder.exe System.Classes 8481 +20 TReader.ReadRootComponent
00480c46 +032 Shareholder.exe System.Classes 6601 +3 TStream.ReadComponent
00fb67eb +01b Shareholder.exe VCLTee.TeeSubChart TSubChart.ReadChart
00482a86 +0fe Shareholder.exe System.Classes 7588 +16 TReader.DefineBinaryProperty
00483f44 +1a0 Shareholder.exe System.Classes 8310 +42 TReader.ReadProperty
004830f1 +061 Shareholder.exe System.Classes 7893 +9 TReader.ReadCollection
0048441c +27c Shareholder.exe System.Classes 8417 +46 TReader.ReadPropValue
00483f2b +187 Shareholder.exe System.Classes 8305 +37 TReader.ReadProperty
00483821 +015 Shareholder.exe System.Classes 8078 +1 TReader.ReadDataInner
ClipSubCharts.jpg
ClipSubCharts.jpg (26.66 KiB) Viewed 8296 times
In Object-Inspector the "Name" of Subcharts are not set. In TeeEditor it seems to generate default names. This generation doesn't work in Delphi-System-Classes (try to use _1, _2 names) correctly.

Have anyone an idea or bugfix?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by Yeray » Wed Apr 11, 2012 11:43 am

Hi,

I'm not able to reproduce it with Rad 2010 and TeeChart v2012.05.
Find attached the project I'm using. It only has a chart with a subcharttool and two subcharts, and I can load the project without any error in RAD 2010 here.
test.zip
(4.1 KiB) Downloaded 369 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

WilliE
Newbie
Newbie
Posts: 5
Joined: Mon Mar 26, 2012 12:00 am

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by WilliE » Fri Apr 20, 2012 3:00 pm

Hello Yeray,
i can confirm this problem with Delphi XE2 and TeeChart 2012.05.120327 VCL release.

Your sincerely

Willi

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by Yeray » Mon Apr 23, 2012 10:46 am

Hi Willi,

I can open and run the project I attached both with D2010 and RadXE2 and TeeChart Pro v2012.05. Does it reproduce the problem for you, or you are following different steps for it?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

WilliE
Newbie
Newbie
Posts: 5
Joined: Mon Mar 26, 2012 12:00 am

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by WilliE » Mon Apr 23, 2012 2:17 pm

Hello Yeray,
your sample reproduces the error. Both Names of the TSubCharts are empty but i can compile and run your demo without futher error. That is very strange to me. My project has two empy TSubChart names and there is a EComponentError if I start my program with the error “A component named _1 already exists.”

I have attaches a picture to show you the empty name in your demo.

Your sincerely

Willi
Attachments
Unbenannt.PNG
Unbenannt.PNG (66.58 KiB) Viewed 8181 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by Yeray » Wed Apr 25, 2012 9:54 am

Hi,
WilliE wrote:I have attaches a picture to show you the empty name in your demo.
Right. We can reproduce this here.

But that's strange. We've tried to open, build and run the project I attached some posts above in two different machines, Win7 32bit and Win7 64bit, and we found no error on loading, building nor running the application.
Both machines running XE2 with Update 4 and TeeChart v2012.05.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

WilliE
Newbie
Newbie
Posts: 5
Joined: Mon Mar 26, 2012 12:00 am

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by WilliE » Thu Apr 26, 2012 4:24 pm

Hello Yeray,
on thing i have to mention: I can allays set the names of the TSubCharts manually, then the program does work. But the names are not saved in the dfm. I have so set allays the names if i load the unit.

Your sincerely

Willi

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by Yeray » Fri Apr 27, 2012 9:33 am

Hi Willi,

Ok, I'm happy to hear you found a way to make it work. But I'm still puzzled why the same project with empty names loads without errors in some machines and not in others.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

WilliE
Newbie
Newbie
Posts: 5
Joined: Mon Mar 26, 2012 12:00 am

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by WilliE » Sat Aug 04, 2012 2:07 pm

Hello Yeray
have you any new info about this error? The workaround tends to be very annoying.

Your sincerely

Willi

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: v2012.05.120327.32Bit.VCL - Problem TChartSubTool/TSubCharts

Post by Yeray » Mon Aug 06, 2012 10:06 am

Hello Willi,

I can't still reproduce any error here. Now I've tried it with v2012.06 and RAD 2010 and also with RAD XE2.

However, as said before, I've observed how any name you set to the Charts in a TSubChartTool's is lost when you Save&Load the project. But I'm afraid there's no progress yet on the ticket (TV52016287).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply