Hi.
I create an ultrachart and then call the RenderPDFFriendlyGraphics function to render the chart to a pdf report. The code looks like this:
ICanvas canvas = newFlow.AddCanvas();
canvas.Width = new FixedWidth(210);
canvas.Height = new FixedHeight(170);
Graphics g = canvas.CreateGraphics();
ultraChart1.RenderPdfFriendlyGraphics(g);
The RenderPDFFriendlyGraphics takes a long time to execute. Is this normal? My chart consists of about 50 series each of 175 points.
Working on the sample....
Hello Sudnya,
Thank you for this information. I just tested this with a small sample project with only one chart, and the method executed in less than 5 seconds.
How complex are the charts you're rendering? Would you be able to post a sample project that reproduces the issue? You can attach a file to a post by selecting the Options tab when editing your post.
ultraChart1.RenderPdfFriendlyGraphics(g) specifically takes about a minute to render.
Each graph takes about a minute to render. I have to render 6 such graphs on one report. So that takes close to 5 to 6 minutes.
Thank you for this information. Could you also tell me about how long you've seen the render to PDF taking?