Min Separation Does NOt Work
Min Separation Does NOt Work
I have recompiled my app using the new TeeeChart 2010 (was using v8 before with no problems), but this new version seems a bit buggy. Two problems found so far:
1. Some area charts crash when the mouse is moved over them. I traced the crash to the TChartSeries.GetMarkValue function. The valueindex paramter was -1. I hacked the code as follows but there must be a wider problem:
begin
if ValueIndex >= 0 then //hack
result:=MandatoryValueList.Value[ValueIndex]
else
result := 0;
end;
2. Also in area charts the min separation property for an axis no longer seems to be honored (at least in some situations). My bottom axis text labels are overlapping when I set the min separation to 5%. I tried editing the setting to other values using the chart editor but they were not honored.
For now I have given up on the new 2010 version and gone back to v8. I would appreciate any advice/fixes.
Thanks
1. Some area charts crash when the mouse is moved over them. I traced the crash to the TChartSeries.GetMarkValue function. The valueindex paramter was -1. I hacked the code as follows but there must be a wider problem:
begin
if ValueIndex >= 0 then //hack
result:=MandatoryValueList.Value[ValueIndex]
else
result := 0;
end;
2. Also in area charts the min separation property for an axis no longer seems to be honored (at least in some situations). My bottom axis text labels are overlapping when I set the min separation to 5%. I tried editing the setting to other values using the chart editor but they were not honored.
For now I have given up on the new 2010 version and gone back to v8. I would appreciate any advice/fixes.
Thanks
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Min Separation Does NOt Work
Hi cheaps,
Thanks in advance.
I'm not able to reproduce the problem. Can you please attach a simple example project we can run "as-is" to reproduce the issue here?1. Some area charts crash when the mouse is moved over them. I traced the crash to the TChartSeries.GetMarkValue function. The valueindex paramter was -1.
Could you also attach an example for this one?2. Also in area charts the min separation property for an axis no longer seems to be honored (at least in some situations). My bottom axis text labels are overlapping when I set the min separation to 5%. I tried editing the setting to other values using the chart editor but they were not honored.
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 |
Re: Min Separation Does NOt Work
Will do (may take me a few days though) - thanks!
Re: Min Separation Does NOt Work
I'm having similar problems. The separation appears to be fine when there is one series on the chart, however when you add a second, third, fourth series and so on, the separation disappears as multiple labels are placed on the axis.
The labels for each series are absolutely identical and are weekly dates, but everytime you add another series the spacing gets worse and worse as it displays more labels. Take a look at the attached image file where you can see the axis labelling changing as each series is added.
I'm having exactly the same problem with every chart that includes multiple series. We have made no changes to our code which worked perfectly well in v8 and have just upgraded to v2010 as we're now using Delphi XE.
Any advice greatly welcome?
The labels for each series are absolutely identical and are weekly dates, but everytime you add another series the spacing gets worse and worse as it displays more labels. Take a look at the attached image file where you can see the axis labelling changing as each series is added.
I'm having exactly the same problem with every chart that includes multiple series. We have made no changes to our code which worked perfectly well in v8 and have just upgraded to v2010 as we're now using Delphi XE.
Any advice greatly welcome?
- Attachments
-
- Same chart with a series added each time. Look at the bottom axis labels.
- TChartAxisLabellingIssue.png (42.11 KiB) Viewed 14812 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Min Separation Does NOt Work
Hi Drew,
Can you please attach a simple example project we can run "as-is" to reproduce the issue here?
Thanks in advance.
Can you please attach a simple example project we can run "as-is" 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 |
Instructions - How to post in this forum |
Re: Min Separation Does NOt Work
Thanks Narcis, I've uploaded the source for a simple app that adds a series of 300 random numbers each time you check one of the series in the list. You will notice that as you check each series on the bottom axis adds more and more date labels to the axis completely ignoring the min separation. This wasn't a problem with v8 and has only been introduced with v2010.
Look forward to your response!
Drew
Look forward to your response!
Drew
- Attachments
-
- AxisIssue.zip
- (87.97 KiB) Downloaded 767 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Min Separation Does NOt Work
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 |
Re: Min Separation Does NOt Work
Thanks Narcis, I will keep track of the TV52015179 thread from here on. It does sound like the same issue so I will post any additional comments on that thread.
Drew
Drew
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Min Separation Does NOt Work
Hi Drew,
I just wanted to let you know that we have fixed TV52015179 for the next maintenance release.
I just wanted to let you know that we have fixed TV52015179 for the next maintenance release.
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 |
Re: Min Separation Does NOt Work
Thanks Narcis, look forward to the release.