Hi!
(I use Builder 5)
I installed TeeChart 7.06 and It worked fine, but just then I added some source
code changes I was using in version TeeChart 7 since over a year ago. I
recompiled with TeeRecompile.exe, as always, and installed. After compile
and execute the current project I am developing, everything seemed to
be fine, the main chart worked fine, but when I showed another chart,
the application crashed.
The same problem occurs recompiling original TeeChart 7.06 source code
with no modifications. Because of that, I am using TeeChart 7.06 without
recompile my changes and this project still works fine, but I need all my
changes in source code for other projects.
It seems there is a problem in this new TeeRecompile.exe.
Here is the call stack when my program crashes:
have anyone had this problem?
Thanks in advance.
Beetle.
Problem after recompiling source code in version 7.06
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi beetle,
Could you please let us know the exact instructions we need to follow to reproduce this issue and, if possible, send us an example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Could you please let us know the exact instructions we need to follow to reproduce this issue and, if possible, send us an example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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 |
Instructions - How to post in this forum |
Hi Narcís,
I found where the problem is. It appears even at design time.
You can reproduce it following these steps:
1) Place a chart in a form
2) Add one series (I tried with FastLine, LineSeries and BarSeries)
3) Set Legend->Transparency to a value greater than 0
But remember that this problem just appears recompiling source code
(Version 7.06) with Teerecompile.exe.
Tell me when you find out. I'm gonna try to find more problems with the
recompiled original TeeChart 7.06 and with my changes in source code.
Beetle.
I found where the problem is. It appears even at design time.
You can reproduce it following these steps:
1) Place a chart in a form
2) Add one series (I tried with FastLine, LineSeries and BarSeries)
3) Set Legend->Transparency to a value greater than 0
But remember that this problem just appears recompiling source code
(Version 7.06) with Teerecompile.exe.
Tell me when you find out. I'm gonna try to find more problems with the
recompiled original TeeChart 7.06 and with my changes in source code.
Beetle.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi beetle,
Thanks for the information but I couldn't reproduce what you reported. However, I'm using our latest sources and TeeRecompile version (which are still not public). We expect to release v7.07 very soon. I'd suggest yo to wait for that release and try if the problem persists.
Thanks for the information but I couldn't reproduce what you reported. However, I'm using our latest sources and TeeRecompile version (which are still not public). We expect to release v7.07 very soon. I'd suggest yo to wait for that release and try if the problem persists.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcís,
I belive I've found more problems (recompiled version):
1) I can't make invisible minor marks.
2) It has to do with TChartAxis.Assign(TPersistent* function). Try to place
a chart in a form and paste this source code in the TForm constructor
and run out:
//--------------------------------------------------
TBarSeries* Series1 = new TBarSeries(Chart1);
TBarSeries* Series2 = new TBarSeries(Chart1);
Series1->ParentChart = Chart1;
Series2->ParentChart = Chart1;
Series1->FillSampleValues(10);
Series2->FillSampleValues(10);
TChartAxis* newAxis = new TChartAxis(Chart1->CustomAxes);
Series2->CustomVertAxis = newAxis;
newAxis->Assign(Chart1->LeftAxis);
TChartAxis* newAxisH = new TChartAxis(Chart1->CustomAxes);
Series2->CustomHorizAxis = newAxisH;
newAxisH->Assign(Chart1->BottomAxis);
newAxisH->PositionPercent = 55;
newAxisH->LabelsAngle=90;
newAxis->StartPosition = 0;
newAxis->EndPosition = 45;
Chart1->LeftAxis->StartPosition = 53;
Chart1->LeftAxis->EndPosition = 100;
//--------------------------------------------------
You'll see that the Custom Axis labels are inverted (axis is not inverted).
And something funny happens if then you edits the chart at runtime and
select Custom1 in Axis tab, change to Position tab and change any
property you want... labels get fine
There is a workaround. Paste this sentence after newAxisH->Assign(Chart1->BottomAxis);
newAxisH->Horizontal = true;
This also happens in TeeChart 7.
I belive I've found more problems (recompiled version):
1) I can't make invisible minor marks.
2) It has to do with TChartAxis.Assign(TPersistent* function). Try to place
a chart in a form and paste this source code in the TForm constructor
and run out:
//--------------------------------------------------
TBarSeries* Series1 = new TBarSeries(Chart1);
TBarSeries* Series2 = new TBarSeries(Chart1);
Series1->ParentChart = Chart1;
Series2->ParentChart = Chart1;
Series1->FillSampleValues(10);
Series2->FillSampleValues(10);
TChartAxis* newAxis = new TChartAxis(Chart1->CustomAxes);
Series2->CustomVertAxis = newAxis;
newAxis->Assign(Chart1->LeftAxis);
TChartAxis* newAxisH = new TChartAxis(Chart1->CustomAxes);
Series2->CustomHorizAxis = newAxisH;
newAxisH->Assign(Chart1->BottomAxis);
newAxisH->PositionPercent = 55;
newAxisH->LabelsAngle=90;
newAxis->StartPosition = 0;
newAxis->EndPosition = 45;
Chart1->LeftAxis->StartPosition = 53;
Chart1->LeftAxis->EndPosition = 100;
//--------------------------------------------------
You'll see that the Custom Axis labels are inverted (axis is not inverted).
And something funny happens if then you edits the chart at runtime and
select Custom1 in Axis tab, change to Position tab and change any
property you want... labels get fine
There is a workaround. Paste this sentence after newAxisH->Assign(Chart1->BottomAxis);
newAxisH->Horizontal = true;
This also happens in TeeChart 7.
Pep Jorge
http://support.steema.com
http://support.steema.com