Index: /trunk/FACT++/www/smartfact/index.js
===================================================================
--- /trunk/FACT++/www/smartfact/index.js	(revision 14136)
+++ /trunk/FACT++/www/smartfact/index.js	(revision 14137)
@@ -1360,4 +1360,5 @@
 
     // --- data ---
+    var cnt = 0;
     for (var j=1; j<data.length; j++)
     {
@@ -1375,6 +1376,9 @@
         ctx.fillStyle = "#"+color(100);
         ctx.stroke();
+
+        cnt++;
+    }
+    if (cnt==1)
         ctx.fill();
-    }
 
     ctx.beginPath();
