Nevron Forum

Anti-aliasing on image export

https://www.nevron.com/Forum/Topic6002.aspx

By Daniel Joubert - Thursday, January 5, 2012

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?

By Nevron Support - Thursday, January 5, 2012

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...

By Daniel Joubert - Thursday, January 5, 2012

Thanks, exactly what I was looking for!

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