I have 4 line charts in my form that I want to print on one page. I can see how to print them one to a page - but I can't work out how to print them all on one page.
What is the best way to do this?
regards
peter
2 Answers, 1 is accepted
0
Dwight
Telerik team
answered on 10 Sep 2008, 06:33 AM
Hi Peter,
Can you, please, elaborate more on the problem? Are you using the WinForms or the Reporting chart? If using WinForms chart, how exactly do you print the chart?
Kind regards,
Evtim
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
I'm using WinForms Chart. To print the chart only on a page by itself there is a print type method - but it doesn't offer much control over what happens and I couldn't see how to put other things on the page.
I worked it out in the end - I use the following code on each chart:
Bitmap bmp = new Bitmap(radChart1.Width, radChart1.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
radChart1.DrawToBitmap(bmp, new Rectangle(0, 0, radChart1.Width, radChart1.Height));
ev.Graphics.DrawImage(bmp, top, left, width, height);