##// END OF EJS Templates
Commented out the extra space code for axis
Marek Rosa -
r2094:12a56d69a00f
parent child
Show More
@@ -126,14 +126,14 QRectF ChartLayout::calculateChartGeometry(const QRectF& geometry, const QList<C
126 // check axis size
126 // check axis size
127 foreach(ChartAxis* axis , axes) {
127 foreach(ChartAxis* axis , axes) {
128 if(axis->orientation()==Qt::Vertical && axis->isVisible()) {
128 if(axis->orientation()==Qt::Vertical && axis->isVisible()) {
129 vertical = vertical.expandedTo(axis->effectiveSizeHint(Qt::MinimumSize));
129 // vertical = vertical.expandedTo(axis->effectiveSizeHint(Qt::MinimumSize));
130 if (axis->alternativePlacement())
130 if (axis->alternativePlacement())
131 rightAxisCount++;
131 rightAxisCount++;
132 else
132 else
133 leftAxisCount++;
133 leftAxisCount++;
134 }
134 }
135 else if(axis->orientation()==Qt::Horizontal && axis->isVisible()) {
135 else if(axis->orientation()==Qt::Horizontal && axis->isVisible()) {
136 horizontal = horizontal.expandedTo(axis->effectiveSizeHint(Qt::MinimumSize));
136 // horizontal = horizontal.expandedTo(axis->effectiveSizeHint(Qt::MinimumSize));
137 if (axis->alternativePlacement())
137 if (axis->alternativePlacement())
138 topAxisCount++;
138 topAxisCount++;
139 else
139 else
General Comments 0
You need to be logged in to leave comments. Login now