Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
panoramix last edited by
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:
When 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
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