Printing multiple charts on one page

Thread is closed for posting
3 posts, 0 answers
  1. Peter
    Peter avatar
    2 posts
    Member since:
    Aug 2008

    Posted 09 Sep 2008 Link to this post


    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?

  2. Dwight
    Dwight avatar
    475 posts

    Posted 10 Sep 2008 Link to this post

    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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Peter
    Peter avatar
    2 posts
    Member since:
    Aug 2008

    Posted 14 Sep 2008 Link to this post


    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);

Back to Top