Page 1 of 1

Is this a bug? I need a quick fix please!!!

Posted: Wed Apr 21, 2010 7:07 am
by 10046032
Hello,

I just upgraded from 8.06 to 8.07 and noticed that plots with Grid Lines set to Small Dots and an Anti-alias tool makes the grid appear as solid line. You may check this if you just drop a TChart on a form, set left axis grid to small dots and finally add anti-alias in the tools section.

I have not received any errors regarding TChar installation after the upgrade (using Turbo Delphi Pro and WinXP)

Regards

Re: Is this a bug? I need a quick fix please!!!

Posted: Wed Apr 21, 2010 3:20 pm
by yeray
Hi johnnix,

I could reproduce it so I've added it to the defect list to be fixed in future releases (TV52014825).
Note that, as you've seen this works fine in v8.06 and also in v2010.

Re: Is this a bug? I need a quick fix please!!!

Posted: Thu Apr 22, 2010 4:58 am
by 10046032
Hello,

Thank you very much for your prompt reply. So, are you suggesting to roll back to 8.06? Is there any way to get a "hint" where to look for this error? It is too soon for me to upgrade to version 2010 :)

Regards

Re: Is this a bug? I need a quick fix please!!!

Posted: Thu Apr 22, 2010 11:32 am
by yeray
Hi johnnix,

With GDI+, the problem doesn't appear:

Code: Select all

uses series, TeeGDIPlus;

procedure TForm1.FormCreate(Sender: TObject);
var g: TGDIPlusCanvas;
begin
  Chart1.AddSeries(TLineSeries.Create(self));
  Chart1[0].FillSampleValues();

  Chart1.Axes.Left.Grid.SmallDots:=true;

  g:=TGDIPlusCanvas.Create;
  Chart1.Canvas:=g;
  g.AntiAlias:=true;
  g.AntiAliasText:=true;
end;

Re: Is this a bug? I need a quick fix please!!!

Posted: Tue May 11, 2010 1:58 pm
by narcis
Hi johnnix,

We have been investigating the issue further and found that it also happens with v2010. The problem seems to be only present in older Delphi versions, up to Delphi 2006. Which Delphi version are you using?

Thanks in advance.

Re: Is this a bug? I need a quick fix please!!!

Posted: Wed May 12, 2010 5:10 am
by 10046032
Hello Narcis,

I am using Turbo Delphi Pro :? Does this mean that there is no way to fix it?

Regards

Re: Is this a bug? I need a quick fix please!!!

Posted: Wed May 12, 2010 7:17 am
by narcis
Hi johnnix,

Thanks for the info. I'm not sure, further investigation is needed. This is just to confirm what we found.

Re: Is this a bug? I need a quick fix please!!!

Posted: Wed Jun 09, 2010 8:36 am
by yeray
Hi johnnix,

As said here, I'll try to explain the status of this problem (TV52014825).
We've made some tests more that show more (yes, even more) strange results, but we aren't sure about the cause of them.

As said before, we've found that this only occurs with older Delphi versions up to Delphi 2006. With Delphi 2007 and above works fine, so it could be a bug in old Delphis.
In addition to this, the problem seems to be in the combination of TAntiAliasCanvas (used in TAntialiasTool) with some perspective of the grid lines. We observed that rotating the chart the grid lines change from smalldots to solid lines and vice-versa:
smalldots.png
smalldots.png (322.84 KiB) Viewed 9798 times