Page 1 of 1

Min Separation Does NOt Work

Posted: Sat Nov 06, 2010 12:52 pm
by 9336879
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

Re: Min Separation Does NOt Work

Posted: Mon Nov 08, 2010 9:10 am
by narcis
Hi cheaps,
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'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?
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.
Could you also attach an example for this one?

Thanks in advance.

Re: Min Separation Does NOt Work

Posted: Wed Nov 10, 2010 8:28 pm
by 9336879
Will do (may take me a few days though) - thanks!

Re: Min Separation Does NOt Work

Posted: Thu Dec 23, 2010 1:16 pm
by 16457995
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?

Re: Min Separation Does NOt Work

Posted: Fri Dec 24, 2010 12:18 pm
by narcis
Hi Drew,

Can you please attach a simple example project we can run "as-is" to reproduce the issue here?

Thanks in advance.

Re: Min Separation Does NOt Work

Posted: Tue Jan 04, 2011 4:17 pm
by 16457995
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

Re: Min Separation Does NOt Work

Posted: Mon Jan 10, 2011 2:48 pm
by narcis
Hi Drew,

Thank you very much for the example project. I think this issue is related to TV52015179.

Re: Min Separation Does NOt Work

Posted: Mon Jan 10, 2011 5:10 pm
by 16457995
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

Re: Min Separation Does NOt Work

Posted: Mon Jan 17, 2011 3:38 pm
by narcis
Hi Drew,

I just wanted to let you know that we have fixed TV52015179 for the next maintenance release.

Re: Min Separation Does NOt Work

Posted: Mon Jan 17, 2011 4:04 pm
by 16457995
Thanks Narcis, look forward to the release.