Profile Picture

Anti-aliasing on image export

Posted By Daniel Joubert 12 Years Ago
Author
Message
Daniel Joubert
Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 10, Visits: 1

When I generate the chart in a winform the anti-aliasing works perfect, but when I export chart as an image the anti-aliasing is not done.

Is there a bug in the Nevron code or is there something special that I should do for image exports?



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

Hi Daniel,

Can you post the code that you use to export the image in order to replicate the problem. In the case of 3D you can explictitly turn on antialiasing using:

nChartControl1.Settings.JitterMode = JitterMode.Enabled;
nChartControl1.Settings.JitteringSteps = 4;

for 2D the code is:

nChartControl1.Settings.ShapeRenderingMode = ShapeRenderingMode.AntiAlias;

Let us know if the problem persists...



Best Regards,
Nevron Support Team



Daniel Joubert
Posted 12 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 10, Visits: 1

Thanks, exactly what I was looking for!

I was under the impression that I only needed to set the ShapeRenderingMode to antialias.





Similar Topics


Reading This Topic