2-D pie chart and rounding, V3 vs V7

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JazzMan
Newbie
Newbie
Posts: 37
Joined: Fri Jun 18, 2004 4:00 am

2-D pie chart and rounding, V3 vs V7

Post by JazzMan » Wed Nov 19, 2008 4:52 am

Folks,

Way back when I was using V3 (yup, I've been using TeeChart for quite a while), 2-D pie charts, were beautifully and smoothly rounded. No part of the pie's circumference showed any jaggies or straight line segments.

Using Version 7 (7.12, to be exact), 2-D pie charts are not nearly as rounded. You can see lots of little umm... not sure what to call 'em, but it's not evenly curved. Is there some combinations of properties I should be setting?

I've done the obvious, such as Circled := TRUE.

PLEASE tell me I can produce an equally lovely 2-D pie chart in version 7?!

Thanks..:)
Regards, richard diamond

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 Nov 19, 2008 8:52 am

Hi richard,

You can try doing an antialiased pie chart as in the All Features\Welcome!\3D Canvas\AntiAlias example at the new features demo, available at TeeChart's group. Just double-click on the yellowish memo with example's description to open the chart editor and set the chart to be 2D and Series.Circled=true.

Hope this helps!
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

JazzMan
Newbie
Newbie
Posts: 37
Joined: Fri Jun 18, 2004 4:00 am

Post by JazzMan » Wed Nov 19, 2008 4:02 pm

Narcís,

As much as I WANT to say YES!, sorry, I can't. No, it wasn't perfectly circular WHEN PRINTED OUT within the demo. I triple-confirmed that 3-D was unchecked, and Circled was checked.

On screen is one thing, but these charts are printed. The goal is having the chart part of a document that then gets printed out. When printed, actually, it was elliptical and squashed-looking via the demo, anything but circular. While surprising, that issue is secondary, because I know the chart doesn't look like that, printing it was changing the appearance.

HOWEVER, since within my application, I save the chart to file, via Chart1.SaveTo MetafileEnh or Chart1SaveToBitmapFile, I'm not concerned about the printing issue within the Demo.

In my code, the chart's exported ( I import that file into a WPTools document as a graphic image). So within the demo, I did an Export, just as I do within my app. And yes, PrintResolution is set to -100...;)

The saved image, when printed out is not a clean circle. You can see unevenness all the way around the circle. Do the same thing with V3, and the pie chart's circumference is even, smooth, absolutely flawless.

Would upgrading to 8 make a difference? Again, the reality in my situation is the chart gets exported to file, then imported into an RTF document. V3, sweet. V7, I got "Unacceptable" from several clients...:(

Help!

Thanks Narcís!

richard diamond

JazzMan
Newbie
Newbie
Posts: 37
Joined: Fri Jun 18, 2004 4:00 am

Post by JazzMan » Thu Nov 20, 2008 9:46 pm

Narcís,

Just delete this whole thread, ignore it, never mind, I never said any of this, and if asked I'll deny it all.

Stupid programmer error. Not a stupid error, a stupid programmer... [handing you a sharp object to stab me with].

2-D pie charts in 7.12 are divine, a thing to behold, and perfectly rounded.

Putting myself in the time-out corner,
richard diamond

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

Post by Narcís » Fri Nov 21, 2008 9:02 am

Hi richard,

Ok, no problem :wink:. I had this pending for investigation but I'm glad to hear you found the solution to the issue
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