UseAntiAlias and DrawRing bug ?

TeeChart for ActiveX, COM and ASP
Post Reply
Mont
Newbie
Newbie
Posts: 9
Joined: Tue Aug 17, 2004 4:00 am

UseAntiAlias and DrawRing bug ?

Post by Mont » Fri Oct 13, 2006 3:57 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Oct 18, 2006 3:06 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply