[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/plugins/chartshape
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-10-19 22:00:10
Message-ID: 20101019220010.E2099AC8A4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1187629 by jsimon:

Use new KD Chart API and paint axis line (otherwise we couldn't apply the axis stroke style to it)

 M  +5 -0      Axis.cpp  


--- trunk/koffice/plugins/chartshape/Axis.cpp #1187628:1187629
@@ -66,6 +66,7 @@
 #include <KDChartThreeDLineAttributes>
 #include <KDChartDataValueAttributes>
 #include <KDChartBackgroundAttributes>
+#include <KDChartRulerAttributes>
 
 // KChart
 #include "PlotArea.h"
@@ -230,6 +231,10 @@
 
     title = 0;
     titleData = 0;
+
+    KDChart::RulerAttributes attr = kdAxis->rulerAttributes();
+    attr.setShowRulerLine( true );
+    kdAxis->setRulerAttributes( attr );
 }
 
 Axis::Private::~Private()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic