Author: jcrowley
Date: 2007-07-27 14:48:35 -0700 (Fri, 27 Jul 2007)
New Revision: 5842

Modified:
   sandbox/jcrowley/lzcharts/linechart.lzx
Log:
Updating linechart.



Modified: sandbox/jcrowley/lzcharts/linechart.lzx
===================================================================
--- sandbox/jcrowley/lzcharts/linechart.lzx     2007-07-27 20:58:07 UTC (rev 
5841)
+++ sandbox/jcrowley/lzcharts/linechart.lzx     2007-07-27 21:48:35 UTC (rev 
5842)
@@ -461,6 +461,10 @@
         <method name="drawPoint" args="pshape, xposit, yposit, pddata,
             pborder, pvis, pbthick, popac">
             <![CDATA[
+            if(pborder == null){
+                pborder = "#000000";
+                pbthick = 0;
+            }
             this.dataclip.datapane.ptdraw.strokeStyle = pborder;
             this.dataclip.datapane.ptdraw.fillStyle = pvis;
             this.dataclip.datapane.ptdraw.lineWidth = pbthick;
@@ -503,10 +507,12 @@
                     yposit  - (rad * .2));
                 this.dataclip.datapane.ptdraw.lineTo(xposit, yposit - rad);
             }
+            if(pvis != null && typeof pvis != 'undefined'){
+                this.dataclip.datapane.ptdraw.fill();
+            }
             if(pborder != null && typeof pborder != 'undefined'){
                 this.dataclip.datapane.ptdraw.stroke();
             }
-            this.dataclip.datapane.ptdraw.fill();
             ]]>
         </method>
     </class>


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to