Page 1 of 1

Printing/Saving chart to file

Posted: Wed Jun 20, 2018 1:22 pm
by wojtst
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

Re: Printing/Saving chart to file

Posted: Thu Jun 21, 2018 7:41 am
by ArctionKestutis
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.