[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-ko/kchart/shape
From: Sebastian Sauer <mail () dipe ! org>
Date: 2010-04-21 9:45:13
Message-ID: 20100421094513.DCF6DAC89E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1117117 by sebsauer:
set default for vertical and horizontal polarplane axes
M +6 -1 Axis.cpp
--- branches/work/koffice-ko/kchart/shape/Axis.cpp #1117116:1117117
@@ -738,7 +738,8 @@
Q_ASSERT( kdRadarDiagram == 0 );
kdRadarDiagramModel = new KDChartModel;
- kdRadarDiagramModel->setDataDimensions( 2 );
+ //kdRadarDiagramModel->setDataDimensions( 2 );
+ //kdRadarDiagramModel->setDataDirection( Qt::Horizontal );
kdRadarDiagram = new KDChart::PolarDiagram( plotArea->kdChart(), kdPolarPlane );
kdRadarDiagram->setModel( kdRadarDiagramModel );
@@ -905,6 +906,10 @@
gridAttributes = d->kdPolarPlane->gridAttributes( Qt::Horizontal );
gridAttributes.setGridVisible( false );
d->kdPolarPlane->setGridAttributes( Qt::Horizontal, gridAttributes );
+
+ gridAttributes = d->kdPolarPlane->gridAttributes( Qt::Vertical );
+ gridAttributes.setGridVisible( false );
+ d->kdPolarPlane->setGridAttributes( Qt::Vertical, gridAttributes );
d->title = KoShapeRegistry::instance()->value( TextShapeId \
)->createDefaultShape(parent->parent()->resourceManager()); if ( d->title ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic