Page 1 of 1

2-D pie chart and rounding, V3 vs V7

Posted: Wed Nov 19, 2008 4:52 am
by 9337917
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

Posted: Wed Nov 19, 2008 8:52 am
by narcis
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!

Posted: Wed Nov 19, 2008 4:02 pm
by 9337917
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

Posted: Thu Nov 20, 2008 9:46 pm
by 9337917
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

Posted: Fri Nov 21, 2008 9:02 am
by narcis
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