Profile Picture

how to print chart on PrintDocument?

Posted By yunhyungjeon 2 Years Ago
Author
Message
yunhyungjeon
Question Posted 2 Years Ago
View Quick Profile
Junior Member

Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 13, Visits: 190
hello

I'm using Nevron .NET Chart at .net 5.0, winform.

However, I have some questions.
I want to print my Nevron Chart, so, I'm using C#'s PrintDocument PrintPage event.
But, my chart do not shown at print preview page.

Here is my chart print code.

      NRectangleF chartBounds = new NRectangleF(headerBounds.Left, headerBounds.Bottom, headerBounds.Width, CompHeight * 8);
      NChartPrintView chartView = new NChartPrintView(nChartControl.PrintManager, nChartControl.Document, ev.Graphics);
      chartView.Print(chartBounds);
      chartView.Dispose();


First image is my origin chart at runtime. Second Image is my printview image.
When I draw just small data, printview page is well. But, If I draw many datas, my chart are not shown like these images.
How can I fix it?






Tags



Similar Topics


Reading This Topic