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

List:       koffice
Subject:    A bug fix patch of KChart (Part 2)
From:       Toshitaka Fujioka <tositaka () soft ! kusa ! ac ! jp>
Date:       2000-12-12 9:05:47
[Download RAW message or body]

Hello.

I made the patch which fixed the bug that I cannot make a graph of
KChart with KSpread (CVS of 08/12).

It was written as "Fixes bug that you cannot have more than 4x4 charts
when entering data in the data editor" to this page
(http://webcvs.kde.org/cgi-bin/cvsweb.cgi/koffice/kchart/kchartEngine.cc)
, but there was not a problem even if I applied the patch which I
attached.

In brief, I returned CVS in status of "Revision 1.11".

Bye.

["koffice-kchart-bug2-20001212.diff" (text/plain)]

diff -ur koffice.org/kchart/kchartEngine.cc koffice/kchart/kchartEngine.cc
--- koffice.org/kchart/kchartEngine.cc	Tue Dec 12 00:47:55 2000
+++ koffice/kchart/kchartEngine.cc	Tue Dec 12 17:02:15 2000
@@ -54,7 +54,7 @@
   num_hlc_sets = params->has_hlc_sets() ? 1 : 0;
   // And num_points is the number of columns
 
-  num_points = data->usedCols();
+  num_points = data->cols(); //data->usedCols();
 
   /* idiot checks */
   if( imagewidth <= 0 || imageheight <=0 || !p  )


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

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