Jump to content
Software FX Community

Print Preview


sudidela
 Share

Recommended Posts

Hi

I have written custom code for print preview as i am using two charts in my application(one for data plotting and other for legends display). After the plot is plotted with some data, I have zoomed the first chart to some extent and clicked on Print Preview button. When i scroll the x axis after zooming, it is intutive that chart is showing the document which might be approximatetly 2 to 3 pages.....

But the chart.Printer.Document.PrintController.GetPreviewPageInfo().Length is giving 550 to 600 pages.

Only the first page and approximately last page(s) are having data and remaining all pages are shown empty with x-axis(indicating DateTime) values as 2010, 2011, 2012, 2013.........so on....which is wrong.

Thanks

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...