On 26/10/2015 11:48 AM, Jason H wrote:

Thanks for the reply.  We're using QWT to do the charts.  I can save a
chart to pdf.  what I need is to make a report containing a chart among
other things and save that as a PDF file.
Qwt has QwtRenderer which is designed for this kind of usecase. You
would render the chart into an image, which you then embed in your
report. That's basically how we do it (only not based on QTextDocument).

Hi André.  I know about QwtRenderer.  What do you use to create your
report if not QTextDocument?


I'm not Andre, but I use QLabels. They support an HTML subset.

Thanks. I'll probably try a combination. QwtRender will let me generate a png that I can use in QTextDocument.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to