Difference between revisions of "Google style chart"

From JSXGraph Wiki
Jump to navigationJump to search
Line 33: Line 33:
 
                 }
 
                 }
 
             }
 
             }
             x.push(x[i-1]);
+
             x.push(x[i]);
 
             y.push(0);
 
             y.push(0);
 
             brd.createElement('curve', [x,y], {strokeWidth:3, strockeColor:'#0077cc', highlightStrokeColor:'#0077cc',fillColor:'#e6f2fa'});  
 
             brd.createElement('curve', [x,y], {strokeWidth:3, strockeColor:'#0077cc', highlightStrokeColor:'#0077cc',fillColor:'#e6f2fa'});  

Revision as of 12:27, 9 May 2009