QPainter/QChart/QSvgGenerator grab() vs render() problems
-
Hello all,
I have some problems with QPainter/QSvgGenerator in connection with QCharts (QScatterSeries), because grab() and render() are different - see screenshots.
Using grab():

- all is fine
Using render():

- brushes are not visible?
- titles are not centered or underscores are too long?
As long as I am not using a custom brush:

- they are visible
I use SVGs as brush like this:
scatterSeriesHR->setBrush(QBrush(QIcon(":/svg/distribution-hr-black.svg").pixmap(settings->chart.symbolsize, settings->chart.symbolsize).toImage()));Do I need to set another option, am I doing something wrong, or is this a bug?
Thank you,
Thomas