! calculates the position of the legend, when the position relative to the parent was specified (left, right, etc.) */
| 445 | calculates the position of the legend, when the position relative to the parent was specified (left, right, etc.) |
| 446 | */ |
| 447 | void CartesianPlotLegendPrivate::updatePosition() { |
| 448 | WorksheetElementPrivate::updatePosition(); |
| 449 | |
| 450 | suppressRetransform = true; |
| 451 | title->retransform(); |
| 452 | suppressRetransform = false; |
| 453 | } |
| 454 | |
| 455 | /*! |
| 456 | Reimplementation of QGraphicsItem::paint(). This function does the actual painting of the legend. |
no test coverage detected