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

List:       koffice
Subject:    A bug fix patch of KChart (XTitle)
From:       Toshitaka Fujioka <tositaka () soft ! kusa ! ac ! jp>
Date:       2001-02-05 10:35:57
[Download RAW message or body]

Hello.

A patch attaching sets "XTitle" by a graph by a graph except
a pie graph and "XTitle" fixes an displayed bug when I set to
a pie graph.

A screen shot.

Before a patch application:
 http://www.kusa.ac.jp/~tositaka/kchart1.jpg

After a patch application:
 http://www.kusa.ac.jp/~tositaka/kchart2.jpg

Please try to use. :-)

If this patch is wrong, please advise.

["koffice-kchart-xtitle-bugfix-20010205.diff" (text/plain)]

diff -ur koffice.org/kchart/kchartEngine2.cc koffice/kchart/kchartEngine2.cc
--- koffice.org/kchart/kchartEngine2.cc	Fri Feb  2 16:34:20 2001
+++ koffice/kchart/kchartEngine2.cc	Mon Feb  5 19:06:51 2001
@@ -97,7 +97,7 @@
 
     kdDebug(35001) << "done with the title text" << endl;
 
-    if( !params->xtitle.isEmpty() )
+    if( !params->xtitle.isEmpty() && !params->isPie() )
         {
         //QColor        titlecolor = params->XTitleColor == Qt::black ?
         //                PlotColor: params->XTitleColor;


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

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