Page 1 of 1

UseAntiAlias and DrawRing bug ?

Posted: Fri Oct 13, 2006 3:57 pm
by 9523619
I'm using Teechart7 v 7.0.1.1

Can you please try and recreate the following problem ?

On a VB6 form, I've added a TChart object named TChart1. I've added a single Polar series to the chart and left all other properties at their default values.

I've added the following code to the form:

Private Sub Form_Load()

TChart1.Series(0).FillSampleValues (10)

End Sub

Private Sub TChart1_OnSeriesBeforeDrawValues(ByVal SeriesIndex As Long)

TChart1.Series(0).asPolar.DrawRing 500, TChart1.Width
TChart1.Series(0).asPolar.DrawRing 800, TChart1.Width

End Sub

Everything works as expected. Running the project shows the form, with the TChart and 2 rings added. Now add the following line of code to Form_Load

TChart1.Canvas.UseAntiAlias = True

Running the project now shows the form, but an additional 2 rings have been added to the chart in the top left hand quadrant - bizarre !

Any help on solving this would be greatly appreciated.

Many thanks,

Mont

Posted: Wed Oct 18, 2006 3:06 pm
by narcis
Hi Mont,

I could reproduce the issue here and it is certainly a bug which I've added to our defect list (TA05011835) to be fixed for future releases. There's no workaround I can think of for now.