Skip to content
Commit 17b914e0 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Reimplement Chart::paint() to fix printing issues

The previous implementation did not take the headers and footers
into account when resizing the diagram.

The implementation has been taken from AbstractArea::paintIntoRectArea().

This patch adds the method PrintingParameters::scaleFactor(), because
in branch 2.6 the class member PrintingParameters::scaleFactor was made
private.

BUG:405075
FIXED-IN:2.6.2

Test Plan: tested on linux
Reviewed By: danders
Differential Revision: https://phabricator.kde.org/D19541
(cherry picked from commit 347e5dda)
parent 174860aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment