Unsolved PDF reports
-
Hello everyone
I'm using the Qcustomplot library for drawing charts that I must then save in pdf documents. (Http://www.qcustomplot.com/index.php/introduction)
To generate these reports I have started from this example:
http://www.qcustomplot.com/index.php/tutorials/specialcases/textdocumentWhen I generate the report I imposed fixed the size of the graph but using the program on PCs with different video resolution the result changes.
Can you tell me a method to set the size of the chart so the dimension does not change depending on the resolution of the video card of the PC I'm using?Thanks so much
-
Hi
Normally when you print a widget, u will scale to the printers DPI as not
to get a really small widget.
For PDF, i assume its the same.
There is scale example here
http://doc.qt.io/qt-4.8/printing.html