Printing/Saving chart to file

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
wojtst
Posts: 10
Joined: Tue Aug 01, 2017 2:33 pm

Printing/Saving chart to file

Post by wojtst » Wed Jun 20, 2018 1:22 pm

Hello,

I need to save chart to file then print or directly print it on plotter.
I have tried several methods available on LightningChartUltimate control (SaveToFile, Print).
It works well but only saves/prints only visible area.
My chart series are displayed 1:1 (X axis units are in meters and Y axes are in milimeters) or with defined scale (eg. 1:1000 on x axis, 2:1 on y axes). It is very similar to 'ECG mm-grid' example.
My problem is that print/save method saves/prints only visible area as i mentioned before. I can not fit the whole chart within the screen, because of scales.
Is it possible to save/print whole chart, not only the visible area?


Thanks for your help,
Best regards

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Printing/Saving chart to file

Post by ArctionKestutis » Thu Jun 21, 2018 7:41 am

Hello,

You can save raster format image to any given size (i.e. there are overloaded functions with additional input arguments). Therefore, set chart to the whole range you want to be saved and specify a large width and height. Relative size of labels will be very small, unless you modify corresponding properties.

Hope this helps.
All the best.

Post Reply