Page 1 of 1

How to get the best Quality

Posted: Thu Dec 04, 2008 4:22 pm
by 13047002
Hi what is the best way to get the best qulaity picture from a chart

here is the code I use. the PlotREportchart just plots the data

quantChart.Chart.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
quantChart.Chart.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
PlotReportChart(type, legends, percentile_idx, language);
Stream stream = new MemoryStream();
quantChart.Chart.Export.Image.JPEG.Height = height;
quantChart.Chart.Export.Image.JPEG.Width = width;
quantChart.Chart.Export.Image.JPEG.GrayScale = false;
quantChart.Chart.Export.Image.JPEG.Quality = 100;
quantChart.Chart.Export.Image.JPEG.Save(stream);
Image img = Image.FromStream(stream);

Posted: Thu Dec 04, 2008 4:42 pm
by 13047002
Alos if the Pen.visible is false why are bar/column chart edges not very sharp?

Edges are very blurred without the pen.

Posted: Fri Dec 05, 2008 9:25 am
by narcis
Hi Luke,

You could try using other supported image formats. Have a look at All Features\Welcome !\Exporting\Chart Picture.