Programming dojox.chart(7) - dojox.gfx3d landed in the TRUNK
dojoThanks to Eugene’s hard work in the weekend, dojox.gfx3d
is landed in the
TRUNK, you may fetch it from the anonymous repository:
svn checkout http://svn.dojotoolkit.org/dojo/view/anon/all
And here is an updated diff for Pie3d.js against r10696:
=== Pie3d.js
==================================================================
--- Pie3d.js (revision 231)
+++ Pie3d.js (local)
@@ -82,8 +82,8 @@
var stop = false;
for(var k = i + 1; k < j; ++k){
var x = (k - i) / l;
- var c = p.add_color(p.scale_color(1 - x, c1), p.scale_color(x, c2));
- if(tol2 < (p.diff2_color(c, colors[k].color) / p.length2_color(colors[k].color))){
+ var c = p.addColor(p.scaleColor(1 - x, c1), p.scaleColor(x, c2));
+ if(tol2 < (p.diff2Color(c, colors[k].color) / p.length2Color(colors[k].color))){
stop = true;
break;