You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2009/03/19 11:37:20 UTC

svn commit: r755904 [6/40] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: ./ analytics/ analytics/logger/ analytics/plugins/ analytics/profiles/ atom/ atom/io/ atom/widget/ atom/widget/nls/ atom/widget/nls/cs/ atom/widget/nls/de/ atom...

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Magnify.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Magnify.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Magnify.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Magnify.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,67 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.action2d.Magnify"]){
+dojo._hasResource["dojox.charting.action2d.Magnify"]=true;
+dojo.provide("dojox.charting.action2d.Magnify");
+dojo.require("dojox.charting.action2d.Base");
+dojo.require("dojox.gfx.matrix");
+(function(){
+var _1=2,m=dojox.gfx.matrix,gf=dojox.gfx.fx;
+dojo.declare("dojox.charting.action2d.Magnify",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,scale:_1},optionalParams:{},constructor:function(_4,_5,_6){
+this.scale=_6&&typeof _6.scale=="number"?_6.scale:_1;
+this.connect();
+},process:function(o){
+if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){
+return;
+}
+var _8=o.run.name,_9=o.index,_a=[],_b,_c,_d;
+if(_8 in this.anim){
+_b=this.anim[_8][_9];
+}else{
+this.anim[_8]={};
+}
+if(_b){
+_b.action.stop(true);
+}else{
+this.anim[_8][_9]=_b={};
+}
+if(o.type=="onmouseover"){
+_c=m.identity;
+_d=this.scale;
+}else{
+_c=m.scaleAt(this.scale,o.cx,o.cy);
+_d=1/this.scale;
+}
+var _e={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_d,o.cx,o.cy]},_c]};
+if(o.shape){
+_a.push(gf.animateTransform(_e));
+}
+if(o.oultine){
+_e.shape=o.outline;
+_a.push(gf.animateTransform(_e));
+}
+if(o.shadow){
+_e.shape=o.shadow;
+_a.push(gf.animateTransform(_e));
+}
+if(!_a.length){
+delete this.anim[_8][_9];
+return;
+}
+_b.action=dojo.fx.combine(_a);
+if(o.type=="onmouseout"){
+dojo.connect(_b.action,"onEnd",this,function(){
+if(this.anim[_8]){
+delete this.anim[_8][_9];
+}
+});
+}
+_b.action.play();
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Magnify.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/MoveSlice.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/MoveSlice.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/MoveSlice.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/MoveSlice.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,63 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.action2d.MoveSlice"]){
+dojo._hasResource["dojox.charting.action2d.MoveSlice"]=true;
+dojo.provide("dojox.charting.action2d.MoveSlice");
+dojo.require("dojox.charting.action2d.Base");
+dojo.require("dojox.gfx.matrix");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.scan");
+dojo.require("dojox.lang.functional.fold");
+(function(){
+var _1=1.05,_2=7,m=dojox.gfx.matrix,gf=dojox.gfx.fx,df=dojox.lang.functional;
+dojo.declare("dojox.charting.action2d.MoveSlice",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,scale:_1,shift:_2},optionalParams:{},constructor:function(_6,_7,_8){
+if(!_8){
+_8={};
+}
+this.scale=typeof _8.scale=="number"?_8.scale:_1;
+this.shift=typeof _8.shift=="number"?_8.shift:_2;
+this.connect();
+},process:function(o){
+if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){
+return;
+}
+if(!this.angles){
+if(typeof o.run.data[0]=="number"){
+this.angles=df.map(df.scanl(o.run.data,"+",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));
+}else{
+this.angles=df.map(df.scanl(o.run.data,"a + b.y",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));
+}
+}
+var _a=o.index,_b,_c,_d,_e,_f=(this.angles[_a]+this.angles[_a+1])/2,_10=m.rotateAt(-_f,o.cx,o.cy),_11=m.rotateAt(_f,o.cx,o.cy);
+_b=this.anim[_a];
+if(_b){
+_b.action.stop(true);
+}else{
+this.anim[_a]=_b={};
+}
+if(o.type=="onmouseover"){
+_d=0;
+_e=this.shift;
+_c=this.scale;
+}else{
+_d=this.shift;
+_e=0;
+_c=1/this.scale;
+}
+_b.action=dojox.gfx.fx.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_11,{name:"translate",start:[_d,0],end:[_e,0]},{name:"scaleAt",start:[1,o.cx,o.cy],end:[_c,o.cx,o.cy]},_10]});
+if(o.type=="onmouseout"){
+dojo.connect(_b.action,"onEnd",this,function(){
+delete this.anim[_a];
+});
+}
+_b.action.play();
+},reset:function(){
+delete this.angles;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/MoveSlice.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Shake.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Shake.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Shake.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Shake.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,64 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.action2d.Shake"]){
+dojo._hasResource["dojox.charting.action2d.Shake"]=true;
+dojo.provide("dojox.charting.action2d.Shake");
+dojo.require("dojox.charting.action2d.Base");
+dojo.require("dojox.gfx.matrix");
+(function(){
+var _1=3,m=dojox.gfx.matrix,gf=dojox.gfx.fx;
+dojo.declare("dojox.charting.action2d.Shake",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,shiftX:_1,shiftY:_1},optionalParams:{},constructor:function(_4,_5,_6){
+if(!_6){
+_6={};
+}
+this.shiftX=typeof _6.shiftX=="number"?_6.shiftX:_1;
+this.shiftY=typeof _6.shiftY=="number"?_6.shiftY:_1;
+this.connect();
+},process:function(o){
+if(!o.shape||!(o.type in this.overOutEvents)){
+return;
+}
+var _8=o.run.name,_9=o.index,_a=[],_b,_c=o.type=="onmouseover"?this.shiftX:-this.shiftX,_d=o.type=="onmouseover"?this.shiftY:-this.shiftY;
+if(_8 in this.anim){
+_b=this.anim[_8][_9];
+}else{
+this.anim[_8]={};
+}
+if(_b){
+_b.action.stop(true);
+}else{
+this.anim[_8][_9]=_b={};
+}
+var _e={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"translate",start:[this.shiftX,this.shiftY],end:[0,0]},m.identity]};
+if(o.shape){
+_a.push(gf.animateTransform(_e));
+}
+if(o.oultine){
+_e.shape=o.outline;
+_a.push(gf.animateTransform(_e));
+}
+if(o.shadow){
+_e.shape=o.shadow;
+_a.push(gf.animateTransform(_e));
+}
+if(!_a.length){
+delete this.anim[_8][_9];
+return;
+}
+_b.action=dojo.fx.combine(_a);
+if(o.type=="onmouseout"){
+dojo.connect(_b.action,"onEnd",this,function(){
+if(this.anim[_8]){
+delete this.anim[_8][_9];
+}
+});
+}
+_b.action.play();
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Shake.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Tooltip.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Tooltip.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Tooltip.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Tooltip.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,93 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.action2d.Tooltip"]){
+dojo._hasResource["dojox.charting.action2d.Tooltip"]=true;
+dojo.provide("dojox.charting.action2d.Tooltip");
+dojo.require("dojox.charting.action2d.Base");
+dojo.require("dijit.Tooltip");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.scan");
+dojo.require("dojox.lang.functional.fold");
+(function(){
+var _1=function(o){
+var t=o.run&&o.run.data&&o.run.data[o.index];
+if(t&&typeof t=="object"&&t.tooltip){
+return t.tooltip;
+}
+return o.element=="bar"?o.x:o.y;
+};
+var df=dojox.lang.functional,_5=Math.PI/4,_6=Math.PI/2;
+dojo.declare("dojox.charting.action2d.Tooltip",dojox.charting.action2d.Base,{defaultParams:{text:_1},optionalParams:{},constructor:function(_7,_8,_9){
+this.text=_9&&_9.text?_9.text:_1;
+this.connect();
+},process:function(o){
+if(o.type==="onplotreset"||o.type==="onmouseout"){
+dijit.hideTooltip(this.aroundRect);
+this.aroundRect=null;
+return;
+}
+if(!o.shape||o.type!=="onmouseover"){
+return;
+}
+var _b={type:"rect"},_c=["after","before"];
+switch(o.element){
+case "marker":
+_b.x=o.cx;
+_b.y=o.cy;
+_b.width=_b.height=1;
+break;
+case "circle":
+_b.x=o.cx-o.cr;
+_b.y=o.cy-o.cr;
+_b.width=_b.height=2*o.cr;
+break;
+case "column":
+_c=["above","below"];
+case "bar":
+_b=dojo.clone(o.shape.getShape());
+break;
+default:
+if(!this.angles){
+if(typeof o.run.data[0]=="number"){
+this.angles=df.map(df.scanl(o.run.data,"+",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));
+}else{
+this.angles=df.map(df.scanl(o.run.data,"a + b.y",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));
+}
+}
+var _d=(this.angles[o.index]+this.angles[o.index+1])/2;
+_b.x=o.cx+o.cr*Math.cos(_d);
+_b.y=o.cy+o.cr*Math.sin(_d);
+_b.width=_b.height=1;
+if(_d<_5){
+}else{
+if(_d<_6+_5){
+_c=["below","above"];
+}else{
+if(_d<Math.PI+_5){
+_c=["before","after"];
+}else{
+if(_d<2*Math.PI-_5){
+_c=["above","below"];
+}
+}
+}
+}
+break;
+}
+var lt=dojo.coords(this.chart.node,true);
+_b.x+=lt.x;
+_b.y+=lt.y;
+_b.x=Math.round(_b.x);
+_b.y=Math.round(_b.y);
+_b.width=Math.ceil(_b.width);
+_b.height=Math.ceil(_b.height);
+this.aroundRect=_b;
+dijit.showTooltip(this.text(o),this.aroundRect,_c);
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Tooltip.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Base.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Base.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Base.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Base.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,29 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.axis2d.Base"]){
+dojo._hasResource["dojox.charting.axis2d.Base"]=true;
+dojo.provide("dojox.charting.axis2d.Base");
+dojo.require("dojox.charting.Element");
+dojo.declare("dojox.charting.axis2d.Base",dojox.charting.Element,{constructor:function(_1,_2){
+this.vertical=_2&&_2.vertical;
+},clear:function(){
+return this;
+},initialized:function(){
+return false;
+},calculate:function(_3,_4,_5){
+return this;
+},getScaler:function(){
+return null;
+},getTicks:function(){
+return null;
+},getOffsets:function(){
+return {l:0,r:0,t:0,b:0};
+},render:function(_6,_7){
+return this;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Base.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Default.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Default.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Default.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Default.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,242 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.axis2d.Default"]){
+dojo._hasResource["dojox.charting.axis2d.Default"]=true;
+dojo.provide("dojox.charting.axis2d.Default");
+dojo.require("dojox.charting.scaler.linear");
+dojo.require("dojox.charting.axis2d.common");
+dojo.require("dojox.charting.axis2d.Base");
+dojo.require("dojo.colors");
+dojo.require("dojo.string");
+dojo.require("dojox.gfx");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.utils");
+(function(){
+var dc=dojox.charting,df=dojox.lang.functional,du=dojox.lang.utils,g=dojox.gfx,_5=dc.scaler.linear,_6=4;
+dojo.declare("dojox.charting.axis2d.Default",dojox.charting.axis2d.Base,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true,majorLabels:true,minorTicks:true,minorLabels:true,microTicks:false,htmlLabels:true},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1,labels:[],labelFunc:null,maxLabelSize:0,stroke:{},majorTick:{},minorTick:{},microTick:{},font:"",fontColor:""},constructor:function(_7,_8){
+this.opt=dojo.delegate(this.defaultParams,_8);
+du.updateWithPattern(this.opt,_8,this.optionalParams);
+},dependOnData:function(){
+return !("min" in this.opt)||!("max" in this.opt);
+},clear:function(){
+delete this.scaler;
+delete this.ticks;
+this.dirty=true;
+return this;
+},initialized:function(){
+return "scaler" in this&&!(this.dirty&&this.dependOnData());
+},setWindow:function(_9,_a){
+this.scale=_9;
+this.offset=_a;
+return this.clear();
+},getWindowScale:function(){
+return "scale" in this?this.scale:1;
+},getWindowOffset:function(){
+return "offset" in this?this.offset:0;
+},calculate:function(_b,_c,_d,_e){
+if(this.initialized()){
+return this;
+}
+this.labels="labels" in this.opt?this.opt.labels:_e;
+this.scaler=_5.buildScaler(_b,_c,_d,this.opt);
+if("scale" in this){
+this.opt.from=this.scaler.bounds.lower+this.offset;
+this.opt.to=(this.scaler.bounds.upper-this.scaler.bounds.lower)/this.scale+this.opt.from;
+if(!isFinite(this.opt.from)||isNaN(this.opt.from)||!isFinite(this.opt.to)||isNaN(this.opt.to)||this.opt.to-this.opt.from>=this.scaler.bounds.upper-this.scaler.bounds.lower){
+delete this.opt.from;
+delete this.opt.to;
+delete this.scale;
+delete this.offset;
+}else{
+if(this.opt.from<this.scaler.bounds.lower){
+this.opt.to+=this.scaler.bounds.lower-this.opt.from;
+this.opt.from=this.scaler.bounds.lower;
+}else{
+if(this.opt.to>this.scaler.bounds.upper){
+this.opt.from+=this.scaler.bounds.upper-this.opt.to;
+this.opt.to=this.scaler.bounds.upper;
+}
+}
+this.offset=this.opt.from-this.scaler.bounds.lower;
+}
+this.scaler=_5.buildScaler(_b,_c,_d,this.opt);
+if(this.scale==1&&this.offset==0){
+delete this.scale;
+delete this.offset;
+}
+}
+var _f=0,ta=this.chart.theme.axis,_11="font" in this.opt?this.opt.font:ta.font,_12=_11?g.normalizedLength(g.splitFontString(_11).size):0;
+if(this.vertical){
+if(_12){
+_f=_12+_6;
+}
+}else{
+if(_12){
+var _13,i;
+if(this.opt.labelFunc&&this.opt.maxLabelSize){
+_13=this.opt.maxLabelSize;
+}else{
+if(this.labels){
+_13=df.foldl(df.map(this.labels,function(_15){
+return dojox.gfx._base._getTextBox(_15.text,{font:_11}).w;
+}),"Math.max(a, b)",0);
+}else{
+var _16=Math.ceil(Math.log(Math.max(Math.abs(this.scaler.bounds.from),Math.abs(this.scaler.bounds.to)))/Math.LN10),t=[];
+if(this.scaler.bounds.from<0||this.scaler.bounds.to<0){
+t.push("-");
+}
+t.push(dojo.string.rep("9",_16));
+var _18=Math.floor(Math.log(this.scaler.bounds.to-this.scaler.bounds.from)/Math.LN10);
+if(_18>0){
+t.push(".");
+for(i=0;i<_18;++i){
+t.push("9");
+}
+}
+_13=dojox.gfx._base._getTextBox(t.join(""),{font:_11}).w;
+}
+}
+_f=_13+_6;
+}
+}
+this.scaler.minMinorStep=_f;
+this.ticks=_5.buildTicks(this.scaler,this.opt);
+return this;
+},getScaler:function(){
+return this.scaler;
+},getTicks:function(){
+return this.ticks;
+},getOffsets:function(){
+var _19={l:0,r:0,t:0,b:0},_1a,a,b,c,d,gtb=dojox.gfx._base._getTextBox,gl=dc.scaler.common.getNumericLabel,_21=0,ta=this.chart.theme.axis,_23="font" in this.opt?this.opt.font:ta.font,_24="majorTick" in this.opt?this.opt.majorTick:ta.majorTick,_25="minorTick" in this.opt?this.opt.minorTick:ta.minorTick,_26=_23?g.normalizedLength(g.splitFontString(_23).size):0,s=this.scaler;
+if(!s){
+return _19;
+}
+if(this.vertical){
+if(_26){
+if(this.opt.labelFunc&&this.opt.maxLabelSize){
+_1a=this.opt.maxLabelSize;
+}else{
+if(this.labels){
+_1a=df.foldl(df.map(this.labels,function(_28){
+return dojox.gfx._base._getTextBox(_28.text,{font:_23}).w;
+}),"Math.max(a, b)",0);
+}else{
+a=gtb(gl(s.major.start,s.major.prec,this.opt),{font:_23}).w;
+b=gtb(gl(s.major.start+s.major.count*s.major.tick,s.major.prec,this.opt),{font:_23}).w;
+c=gtb(gl(s.minor.start,s.minor.prec,this.opt),{font:_23}).w;
+d=gtb(gl(s.minor.start+s.minor.count*s.minor.tick,s.minor.prec,this.opt),{font:_23}).w;
+_1a=Math.max(a,b,c,d);
+}
+}
+_21=_1a+_6;
+}
+_21+=_6+Math.max(_24.length,_25.length);
+_19[this.opt.leftBottom?"l":"r"]=_21;
+_19.t=_19.b=_26/2;
+}else{
+if(_26){
+_21=_26+_6;
+}
+_21+=_6+Math.max(_24.length,_25.length);
+_19[this.opt.leftBottom?"b":"t"]=_21;
+if(_26){
+if(this.opt.labelFunc&&this.opt.maxLabelSize){
+_1a=this.opt.maxLabelSize;
+}else{
+if(this.labels){
+_1a=df.foldl(df.map(this.labels,function(_29){
+return dojox.gfx._base._getTextBox(_29.text,{font:_23}).w;
+}),"Math.max(a, b)",0);
+}else{
+a=gtb(gl(s.major.start,s.major.prec,this.opt),{font:_23}).w;
+b=gtb(gl(s.major.start+s.major.count*s.major.tick,s.major.prec,this.opt),{font:_23}).w;
+c=gtb(gl(s.minor.start,s.minor.prec,this.opt),{font:_23}).w;
+d=gtb(gl(s.minor.start+s.minor.count*s.minor.tick,s.minor.prec,this.opt),{font:_23}).w;
+_1a=Math.max(a,b,c,d);
+}
+}
+_19.l=_19.r=_1a/2;
+}
+}
+return _19;
+},render:function(dim,_2b){
+if(!this.dirty){
+return this;
+}
+var _2c,_2d,_2e,_2f,_30,_31,ta=this.chart.theme.axis,_33="stroke" in this.opt?this.opt.stroke:ta.stroke,_34="majorTick" in this.opt?this.opt.majorTick:ta.majorTick,_35="minorTick" in this.opt?this.opt.minorTick:ta.minorTick,_36="microTick" in this.opt?this.opt.microTick:ta.minorTick,_37="font" in this.opt?this.opt.font:ta.font,_38="fontColor" in this.opt?this.opt.fontColor:ta.fontColor,_39=Math.max(_34.length,_35.length),_3a=_37?g.normalizedLength(g.splitFontString(_37).size):0;
+if(this.vertical){
+_2c={y:dim.height-_2b.b};
+_2d={y:_2b.t};
+_2e={x:0,y:-1};
+if(this.opt.leftBottom){
+_2c.x=_2d.x=_2b.l;
+_2f={x:-1,y:0};
+_31="end";
+}else{
+_2c.x=_2d.x=dim.width-_2b.r;
+_2f={x:1,y:0};
+_31="start";
+}
+_30={x:_2f.x*(_39+_6),y:_3a*0.4};
+}else{
+_2c={x:_2b.l};
+_2d={x:dim.width-_2b.r};
+_2e={x:1,y:0};
+_31="middle";
+if(this.opt.leftBottom){
+_2c.y=_2d.y=dim.height-_2b.b;
+_2f={x:0,y:1};
+_30={y:_39+_6+_3a};
+}else{
+_2c.y=_2d.y=_2b.t;
+_2f={x:0,y:-1};
+_30={y:-_39-_6};
+}
+_30.x=0;
+}
+this.cleanGroup();
+try{
+var s=this.group,c=this.scaler,t=this.ticks,_3e,f=_5.getTransformerFromModel(this.scaler),_40=dojox.gfx.renderer=="canvas",_41=_40||this.opt.htmlLabels&&!dojo.isIE&&!dojo.isOpera?"html":"gfx",dx=_2f.x*_34.length,dy=_2f.y*_34.length;
+s.createLine({x1:_2c.x,y1:_2c.y,x2:_2d.x,y2:_2d.y}).setStroke(_33);
+dojo.forEach(t.major,function(_44){
+var _45=f(_44.value),_46,x=_2c.x+_2e.x*_45,y=_2c.y+_2e.y*_45;
+s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_34);
+if(_44.label){
+_46=dc.axis2d.common.createText[_41](this.chart,s,x+_30.x,y+_30.y,_31,_44.label,_37,_38);
+if(_41=="html"){
+this.htmlElements.push(_46);
+}
+}
+},this);
+dx=_2f.x*_35.length;
+dy=_2f.y*_35.length;
+_3e=c.minMinorStep<=c.minor.tick*c.bounds.scale;
+dojo.forEach(t.minor,function(_49){
+var _4a=f(_49.value),_4b,x=_2c.x+_2e.x*_4a,y=_2c.y+_2e.y*_4a;
+s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_35);
+if(_3e&&_49.label){
+_4b=dc.axis2d.common.createText[_41](this.chart,s,x+_30.x,y+_30.y,_31,_49.label,_37,_38);
+if(_41=="html"){
+this.htmlElements.push(_4b);
+}
+}
+},this);
+dx=_2f.x*_36.length;
+dy=_2f.y*_36.length;
+dojo.forEach(t.micro,function(_4e){
+var _4f=f(_4e.value),_50,x=_2c.x+_2e.x*_4f,y=_2c.y+_2e.y*_4f;
+s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_36);
+},this);
+}
+catch(e){
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/Default.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/common.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/common.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/common.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/common.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,63 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.axis2d.common"]){
+dojo._hasResource["dojox.charting.axis2d.common"]=true;
+dojo.provide("dojox.charting.axis2d.common");
+dojo.require("dojox.gfx");
+(function(){
+var g=dojox.gfx;
+function _2(s){
+s.marginLeft="0px";
+s.marginTop="0px";
+s.marginRight="0px";
+s.marginBottom="0px";
+s.paddingLeft="0px";
+s.paddingTop="0px";
+s.paddingRight="0px";
+s.paddingBottom="0px";
+s.borderLeftWidth="0px";
+s.borderTopWidth="0px";
+s.borderRightWidth="0px";
+s.borderBottomWidth="0px";
+};
+dojo.mixin(dojox.charting.axis2d.common,{createText:{gfx:function(_4,_5,x,y,_8,_9,_a,_b){
+return _5.createText({x:x,y:y,text:_9,align:_8}).setFont(_a).setFill(_b);
+},html:function(_c,_d,x,y,_10,_11,_12,_13){
+var p=dojo.doc.createElement("div"),s=p.style;
+_2(s);
+s.font=_12;
+p.innerHTML=String(_11).replace(/\s/g,"&nbsp;");
+s.color=_13;
+s.position="absolute";
+s.left="-10000px";
+dojo.body().appendChild(p);
+var _16=g.normalizedLength(g.splitFontString(_12).size),box=dojo.marginBox(p);
+dojo.body().removeChild(p);
+s.position="relative";
+switch(_10){
+case "middle":
+s.left=Math.floor(x-box.w/2)+"px";
+break;
+case "end":
+s.left=Math.floor(x-box.w)+"px";
+break;
+default:
+s.left=Math.floor(x)+"px";
+break;
+}
+s.top=Math.floor(y-_16)+"px";
+var _18=dojo.doc.createElement("div"),w=_18.style;
+_2(w);
+w.width="0px";
+w.height="0px";
+_18.appendChild(p);
+_c.node.insertBefore(_18,_c.node.firstChild);
+return _18;
+}}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/axis2d/common.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Areas.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Areas.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Areas.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Areas.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,16 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Areas"]){
+dojo._hasResource["dojox.charting.plot2d.Areas"]=true;
+dojo.provide("dojox.charting.plot2d.Areas");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.declare("dojox.charting.plot2d.Areas",dojox.charting.plot2d.Default,{constructor:function(){
+this.opt.lines=true;
+this.opt.areas=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Areas.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bars.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bars.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bars.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bars.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,78 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Bars"]){
+dojo._hasResource["dojox.charting.plot2d.Bars"]=true;
+dojo.provide("dojox.charting.plot2d.Bars");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Base");
+dojo.require("dojox.lang.utils");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_4=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.Bars",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,shadows:null},optionalParams:{minBarSize:1,maxBarSize:1},constructor:function(_5,_6){
+this.opt=dojo.clone(this.defaultParams);
+du.updateWithObject(this.opt,_6);
+du.updateWithPattern(this.opt,_6,this.optionalParams);
+this.series=[];
+this.hAxis=this.opt.hAxis;
+this.vAxis=this.opt.vAxis;
+},calculateAxes:function(_7){
+var _8=dc.collectSimpleStats(this.series),t;
+_8.hmin-=0.5;
+_8.hmax+=0.5;
+t=_8.hmin,_8.hmin=_8.vmin,_8.vmin=t;
+t=_8.hmax,_8.hmax=_8.vmax,_8.vmax=t;
+this._calc(_7,_8);
+return this;
+},render:function(_a,_b){
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_4);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_d){
+_d.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_f,_10,_11,f,gap,_14,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_17=Math.max(0,this._hScaler.bounds.lower),_18=ht(_17),_19=this.events();
+f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);
+gap=f.gap;
+_14=f.size;
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var run=this.series[i];
+if(!this.dirty&&!run.dirty){
+continue;
+}
+run.cleanGroup();
+var s=run.group;
+if(!run.fill||!run.stroke){
+_f=run.dyn.color=new dojo.Color(t.next("color"));
+}
+_10=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_f);
+_11=run.fill?run.fill:dc.augmentFill(t.series.fill,_f);
+for(var j=0;j<run.data.length;++j){
+var v=run.data[j],hv=ht(v),_1f=hv-_18,w=Math.abs(_1f);
+if(w>=1&&_14>=1){
+var _21=s.createRect({x:_b.l+(v<_17?hv:_18),y:_a.height-_b.b-vt(j+1.5)+gap,width:w,height:_14}).setFill(_11).setStroke(_10);
+run.dyn.fill=_21.getFill();
+run.dyn.stroke=_21.getStroke();
+if(_19){
+var o={element:"bar",index:j,run:run,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:_21,x:v,y:j+1.5};
+this._connectEvents(_21,o);
+}
+}
+}
+run.dirty=false;
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bars.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Base.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Base.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Base.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Base.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,90 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Base"]){
+dojo._hasResource["dojox.charting.plot2d.Base"]=true;
+dojo.provide("dojox.charting.plot2d.Base");
+dojo.require("dojox.charting.scaler.primitive");
+dojo.require("dojox.charting.Element");
+dojo.require("dojox.charting.plot2d.common");
+dojo.declare("dojox.charting.plot2d.Base",dojox.charting.Element,{destroy:function(){
+this.resetEvents();
+this.inherited(arguments);
+},clear:function(){
+this.series=[];
+this._hAxis=null;
+this._vAxis=null;
+this.dirty=true;
+return this;
+},setAxis:function(_1){
+if(_1){
+this[_1.vertical?"_vAxis":"_hAxis"]=_1;
+}
+return this;
+},addSeries:function(_2){
+this.series.push(_2);
+return this;
+},calculateAxes:function(_3){
+return this;
+},isDirty:function(){
+return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;
+},render:function(_4,_5){
+return this;
+},getRequiredColors:function(){
+return this.series.length;
+},plotEvent:function(o){
+},connect:function(_7,_8){
+this.dirty=true;
+return dojo.connect(this,"plotEvent",_7,_8);
+},events:function(){
+var ls=this.plotEvent._listeners;
+if(!ls||!ls.length){
+return false;
+}
+for(var i in ls){
+if(!(i in Array.prototype)){
+return true;
+}
+}
+return false;
+},resetEvents:function(){
+this.plotEvent({type:"onplotreset",plot:this});
+},_calc:function(_b,_c){
+if(this._hAxis){
+if(!this._hAxis.initialized()){
+this._hAxis.calculate(_c.hmin,_c.hmax,_b.width);
+}
+this._hScaler=this._hAxis.getScaler();
+}else{
+this._hScaler=dojox.charting.scaler.primitive.buildScaler(_c.hmin,_c.hmax,_b.width);
+}
+if(this._vAxis){
+if(!this._vAxis.initialized()){
+this._vAxis.calculate(_c.vmin,_c.vmax,_b.height);
+}
+this._vScaler=this._vAxis.getScaler();
+}else{
+this._vScaler=dojox.charting.scaler.primitive.buildScaler(_c.vmin,_c.vmax,_b.height);
+}
+},_connectEvents:function(_d,o){
+_d.connect("onmouseover",this,function(e){
+o.type="onmouseover";
+o.event=e;
+this.plotEvent(o);
+});
+_d.connect("onmouseout",this,function(e){
+o.type="onmouseout";
+o.event=e;
+this.plotEvent(o);
+});
+_d.connect("onclick",this,function(e){
+o.type="onclick";
+o.event=e;
+this.plotEvent(o);
+});
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Base.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bubble.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bubble.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bubble.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bubble.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,98 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Bubble"]){
+dojo._hasResource["dojox.charting.plot2d.Bubble"]=true;
+dojo.provide("dojox.charting.plot2d.Bubble");
+dojo.require("dojox.charting.plot2d.Base");
+dojo.require("dojox.lang.functional");
+(function(){
+var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_4=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.Bubble",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y"},optionalParams:{},constructor:function(_5,_6){
+this.opt=dojo.clone(this.defaultParams);
+du.updateWithObject(this.opt,_6);
+this.series=[];
+this.hAxis=this.opt.hAxis;
+this.vAxis=this.opt.vAxis;
+},calculateAxes:function(_7){
+this._calc(_7,dc.collectSimpleStats(this.series));
+return this;
+},render:function(_8,_9){
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_4);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_b){
+_b.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_d,_e,_f,_10,_11,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_14=this.events();
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var run=this.series[i];
+if(!this.dirty&&!run.dirty){
+continue;
+}
+run.cleanGroup();
+if(!run.data.length){
+run.dirty=false;
+continue;
+}
+if(typeof run.data[0]=="number"){
+console.warn("dojox.charting.plot2d.Bubble: the data in the following series cannot be rendered as a bubble chart; ",run);
+continue;
+}
+var s=run.group,_17=dojo.map(run.data,function(v,i){
+return {x:ht(v.x)+_9.l,y:_8.height-_9.b-vt(v.y),radius:this._vScaler.bounds.scale*(v.size/2)};
+},this);
+if(run.fill){
+_f=run.fill;
+}else{
+if(run.stroke){
+_f=run.stroke;
+}else{
+_f=run.dyn.color=new dojo.Color(t.next("color"));
+}
+}
+run.dyn.fill=_f;
+_d=run.dyn.stroke=run.stroke?dc.makeStroke(run.stroke):dc.augmentStroke(t.series.stroke,_f);
+var _1a=null,_1b=null,_1c=null;
+if(this.opt.shadows&&_d){
+var sh=this.opt.shadows,_11=new dojo.Color([0,0,0,0.2]),_10=dojo.clone(_e?_e:_d);
+_10.color=_11;
+_10.width+=sh.dw?sh.dw:0;
+run.dyn.shadow=_10;
+var _1e=dojo.map(_17,function(_1f){
+var sh=this.opt.shadows;
+return s.createCircle({cx:_1f.x+sh.dx,cy:_1f.y+sh.dy,r:_1f.radius}).setStroke(_10).setFill(_11);
+},this);
+}
+if(run.outline||t.series.outline){
+_e=dc.makeStroke(run.outline?run.outline:t.series.outline);
+_e.width=2*_e.width+_d.width;
+run.dyn.outline=_e;
+_1b=dojo.map(_17,function(_21){
+s.createCircle({cx:_21.x,cy:_21.y,r:_21.radius}).setStroke(_e);
+},this);
+}
+_1a=dojo.map(_17,function(_22){
+return s.createCircle({cx:_22.x,cy:_22.y,r:_22.radius}).setStroke(_d).setFill(_f);
+},this);
+if(_14){
+dojo.forEach(_1a,function(s,i){
+var o={element:"circle",index:i,run:run,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:s,outline:_1b&&_1b[i]||null,shadow:_1c&&_1c[i]||null,x:run.data[i].x,y:run.data[i].y,r:run.data[i].size/2,cx:_17[i].x,cy:_17[i].y,cr:_17[i].radius};
+this._connectEvents(s,o);
+},this);
+}
+run.dirty=false;
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Bubble.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredBars.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredBars.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredBars.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredBars.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,62 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]){
+dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]=true;
+dojo.provide("dojox.charting.plot2d.ClusteredBars");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Bars");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_3=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.ClusteredBars",dojox.charting.plot2d.Bars,{render:function(_4,_5){
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_3);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_7){
+_7.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_9,_a,_b,f,_d,_e,_f,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_12=Math.max(0,this._hScaler.bounds.lower),_13=ht(_12),_14=this.events();
+f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt,this.series.length);
+_d=f.gap;
+_e=_f=f.size;
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var run=this.series[i],_17=_f*(this.series.length-i-1);
+if(!this.dirty&&!run.dirty){
+continue;
+}
+run.cleanGroup();
+var s=run.group;
+if(!run.fill||!run.stroke){
+_9=run.dyn.color=new dojo.Color(t.next("color"));
+}
+_a=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_9);
+_b=run.fill?run.fill:dc.augmentFill(t.series.fill,_9);
+for(var j=0;j<run.data.length;++j){
+var v=run.data[j],hv=ht(v),_1b=hv-_13,w=Math.abs(_1b);
+if(w>=1&&_e>=1){
+var _1d=s.createRect({x:_5.l+(v<_12?hv:_13),y:_4.height-_5.b-vt(j+1.5)+_d+_17,width:w,height:_e}).setFill(_b).setStroke(_a);
+run.dyn.fill=_1d.getFill();
+run.dyn.stroke=_1d.getStroke();
+if(_14){
+var o={element:"bar",index:j,run:run,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:_1d,x:v,y:j+1.5};
+this._connectEvents(_1d,o);
+}
+}
+}
+run.dirty=false;
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredBars.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredColumns.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredColumns.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredColumns.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredColumns.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,62 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]){
+dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]=true;
+dojo.provide("dojox.charting.plot2d.ClusteredColumns");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Columns");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_3=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.ClusteredColumns",dojox.charting.plot2d.Columns,{render:function(_4,_5){
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_3);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_7){
+_7.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_9,_a,_b,f,_d,_e,_f,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_12=Math.max(0,this._vScaler.bounds.lower),_13=vt(_12),_14=this.events();
+f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt,this.series.length);
+_d=f.gap;
+_e=_f=f.size;
+this.resetEvents();
+for(var i=0;i<this.series.length;++i){
+var run=this.series[i],_17=_f*i;
+if(!this.dirty&&!run.dirty){
+continue;
+}
+run.cleanGroup();
+var s=run.group;
+if(!run.fill||!run.stroke){
+_9=run.dyn.color=new dojo.Color(t.next("color"));
+}
+_a=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_9);
+_b=run.fill?run.fill:dc.augmentFill(t.series.fill,_9);
+for(var j=0;j<run.data.length;++j){
+var v=run.data[j],vv=vt(v),_1b=vv-_13,h=Math.abs(_1b);
+if(_e>=1&&h>=1){
+var _1d=s.createRect({x:_5.l+ht(j+0.5)+_d+_17,y:_4.height-_5.b-(v>_12?vv:_13),width:_e,height:h}).setFill(_b).setStroke(_a);
+run.dyn.fill=_1d.getFill();
+run.dyn.stroke=_1d.getStroke();
+if(_14){
+var o={element:"column",index:j,run:run,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:_1d,x:j+0.5,y:v};
+this._connectEvents(_1d,o);
+}
+}
+}
+run.dirty=false;
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/ClusteredColumns.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Columns.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Columns.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Columns.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Columns.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,76 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Columns"]){
+dojo._hasResource["dojox.charting.plot2d.Columns"]=true;
+dojo.provide("dojox.charting.plot2d.Columns");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Base");
+dojo.require("dojox.lang.utils");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_4=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.Columns",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,shadows:null},optionalParams:{minBarSize:1,maxBarSize:1},constructor:function(_5,_6){
+this.opt=dojo.clone(this.defaultParams);
+du.updateWithObject(this.opt,_6);
+du.updateWithPattern(this.opt,_6,this.optionalParams);
+this.series=[];
+this.hAxis=this.opt.hAxis;
+this.vAxis=this.opt.vAxis;
+},calculateAxes:function(_7){
+var _8=dc.collectSimpleStats(this.series);
+_8.hmin-=0.5;
+_8.hmax+=0.5;
+this._calc(_7,_8);
+return this;
+},render:function(_9,_a){
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_4);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_c){
+_c.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_e,_f,_10,f,gap,_13,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_16=Math.max(0,this._vScaler.bounds.lower),_17=vt(_16),_18=this.events();
+f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);
+gap=f.gap;
+_13=f.size;
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var run=this.series[i];
+if(!this.dirty&&!run.dirty){
+continue;
+}
+run.cleanGroup();
+var s=run.group;
+if(!run.fill||!run.stroke){
+_e=run.dyn.color=new dojo.Color(t.next("color"));
+}
+_f=run.stroke?run.stroke:dc.augmentStroke(t.series.stroke,_e);
+_10=run.fill?run.fill:dc.augmentFill(t.series.fill,_e);
+for(var j=0;j<run.data.length;++j){
+var v=run.data[j],vv=vt(v),_1e=vv-_17,h=Math.abs(_1e);
+if(_13>=1&&h>=1){
+var _20={x:_a.l+ht(j+0.5)+gap,y:_9.height-_a.b-(v>_16?vv:_17),width:_13,height:h},_21=s.createRect(_20).setFill(_10).setStroke(_f);
+run.dyn.fill=_21.getFill();
+run.dyn.stroke=_21.getStroke();
+if(_18){
+var o={element:"column",index:j,run:run,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:_21,x:j+0.5,y:v};
+this._connectEvents(_21,o);
+}
+}
+}
+run.dirty=false;
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Columns.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Default.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Default.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Default.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Default.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,150 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Default"]){
+dojo._hasResource["dojox.charting.plot2d.Default"]=true;
+dojo.provide("dojox.charting.plot2d.Default");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Base");
+dojo.require("dojox.lang.utils");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_4=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.Default",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",lines:true,areas:false,markers:false,shadows:0,tension:0},optionalParams:{},constructor:function(_5,_6){
+this.opt=dojo.clone(this.defaultParams);
+du.updateWithObject(this.opt,_6);
+this.series=[];
+this.hAxis=this.opt.hAxis;
+this.vAxis=this.opt.vAxis;
+},calculateAxes:function(_7){
+this._calc(_7,dc.collectSimpleStats(this.series));
+return this;
+},render:function(_8,_9){
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_4);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_b){
+_b.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_d,_e,_f,_10,_11=this.events();
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var run=this.series[i];
+if(!this.dirty&&!run.dirty){
+continue;
+}
+run.cleanGroup();
+if(!run.data.length){
+run.dirty=false;
+continue;
+}
+var s=run.group,_14,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);
+if(typeof run.data[0]=="number"){
+_14=dojo.map(run.data,function(v,i){
+return {x:ht(i+1)+_9.l,y:_8.height-_9.b-vt(v)};
+},this);
+}else{
+_14=dojo.map(run.data,function(v,i){
+return {x:ht(v.x)+_9.l,y:_8.height-_9.b-vt(v.y)};
+},this);
+}
+if(!run.fill||!run.stroke){
+_f=run.dyn.color=new dojo.Color(t.next("color"));
+}
+var _1b=this.opt.tension?dc.curve(_14,this.opt.tension):"";
+if(this.opt.areas){
+var _1c=run.fill?run.fill:dc.augmentFill(t.series.fill,_f);
+var _1d=dojo.clone(_14);
+if(this.opt.tension){
+var _1e="L"+_1d[_1d.length-1].x+","+(_8.height-_9.b)+" L"+_1d[0].x+","+(_8.height-_9.b)+" L"+_1d[0].x+","+_1d[0].y;
+run.dyn.fill=s.createPath(_1b+" "+_1e).setFill(_1c).getFill();
+}else{
+_1d.push({x:_14[_14.length-1].x,y:_8.height-_9.b});
+_1d.push({x:_14[0].x,y:_8.height-_9.b});
+_1d.push(_14[0]);
+run.dyn.fill=s.createPolyline(_1d).setFill(_1c).getFill();
+}
+}
+if(this.opt.lines||this.opt.markers){
+_d=run.stroke?dc.makeStroke(run.stroke):dc.augmentStroke(t.series.stroke,_f);
+if(run.outline||t.series.outline){
+_e=dc.makeStroke(run.outline?run.outline:t.series.outline);
+_e.width=2*_e.width+_d.width;
+}
+}
+if(this.opt.markers){
+_10=run.dyn.marker=run.marker?run.marker:t.next("marker");
+}
+var _1f=null,_20=null,_21=null;
+if(this.opt.shadows&&_d){
+var sh=this.opt.shadows,_23=new dojo.Color([0,0,0,0.3]),_24=dojo.map(_14,function(c){
+return {x:c.x+sh.dx,y:c.y+sh.dy};
+}),_26=dojo.clone(_e?_e:_d);
+_26.color=_23;
+_26.width+=sh.dw?sh.dw:0;
+if(this.opt.lines){
+if(this.opt.tension){
+run.dyn.shadow=s.createPath(dc.curve(_24,this.opt.tension)).setStroke(_26).getStroke();
+}else{
+run.dyn.shadow=s.createPolyline(_24).setStroke(_26).getStroke();
+}
+}
+if(this.opt.markers){
+_21=dojo.map(_24,function(c){
+return s.createPath("M"+c.x+" "+c.y+" "+_10).setStroke(_26).setFill(_23);
+},this);
+}
+}
+if(this.opt.lines){
+if(_e){
+if(this.opt.tension){
+run.dyn.outline=s.createPath(_1b).setStroke(_e).getStroke();
+}else{
+run.dyn.outline=s.createPolyline(_14).setStroke(_e).getStroke();
+}
+}
+if(this.opt.tension){
+run.dyn.stroke=s.createPath(_1b).setStroke(_d).getStroke();
+}else{
+run.dyn.stroke=s.createPolyline(_14).setStroke(_d).getStroke();
+}
+}
+if(this.opt.markers){
+_1f=new Array(_14.length);
+_20=new Array(_14.length);
+dojo.forEach(_14,function(c,i){
+var _2a="M"+c.x+" "+c.y+" "+_10;
+if(_e){
+_20[i]=s.createPath(_2a).setStroke(_e);
+}
+_1f[i]=s.createPath(_2a).setStroke(_d).setFill(_d.color);
+},this);
+if(_11){
+dojo.forEach(_1f,function(s,i){
+var o={element:"marker",index:i,run:run,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:s,outline:_20[i]||null,shadow:_21&&_21[i]||null,cx:_14[i].x,cy:_14[i].y};
+if(typeof run.data[0]=="number"){
+o.x=i+1;
+o.y=run.data[i];
+}else{
+o.x=run.data[i].x;
+o.y=run.data[i].y;
+}
+this._connectEvents(s,o);
+},this);
+}
+}
+run.dirty=false;
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Default.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Grid.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Grid.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Grid.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Grid.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,85 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Grid"]){
+dojo._hasResource["dojox.charting.plot2d.Grid"]=true;
+dojo.provide("dojox.charting.plot2d.Grid");
+dojo.require("dojox.charting.Element");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.lang.functional");
+(function(){
+var du=dojox.lang.utils;
+dojo.declare("dojox.charting.plot2d.Grid",dojox.charting.Element,{defaultParams:{hAxis:"x",vAxis:"y",hMajorLines:true,hMinorLines:false,vMajorLines:true,vMinorLines:false,hStripes:"none",vStripes:"none"},optionalParams:{},constructor:function(_2,_3){
+this.opt=dojo.clone(this.defaultParams);
+du.updateWithObject(this.opt,_3);
+this.hAxis=this.opt.hAxis;
+this.vAxis=this.opt.vAxis;
+this.dirty=true;
+},clear:function(){
+this._hAxis=null;
+this._vAxis=null;
+this.dirty=true;
+return this;
+},setAxis:function(_4){
+if(_4){
+this[_4.vertical?"_vAxis":"_hAxis"]=_4;
+}
+return this;
+},addSeries:function(_5){
+return this;
+},calculateAxes:function(_6){
+return this;
+},isDirty:function(){
+return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;
+},getRequiredColors:function(){
+return 0;
+},render:function(_7,_8){
+this.dirty=this.isDirty();
+if(!this.dirty){
+return this;
+}
+this.cleanGroup();
+var s=this.group,ta=this.chart.theme.axis;
+try{
+var _b=this._vAxis.getScaler(),vt=_b.scaler.getTransformerFromModel(_b),_d=this._vAxis.getTicks();
+if(this.opt.hMinorLines){
+dojo.forEach(_d.minor,function(_e){
+var y=_7.height-_8.b-vt(_e.value);
+s.createLine({x1:_8.l,y1:y,x2:_7.width-_8.r,y2:y}).setStroke(ta.minorTick);
+});
+}
+if(this.opt.hMajorLines){
+dojo.forEach(_d.major,function(_10){
+var y=_7.height-_8.b-vt(_10.value);
+s.createLine({x1:_8.l,y1:y,x2:_7.width-_8.r,y2:y}).setStroke(ta.majorTick);
+});
+}
+}
+catch(e){
+}
+try{
+var _12=this._hAxis.getScaler(),ht=_12.scaler.getTransformerFromModel(_12),_d=this._hAxis.getTicks();
+if(_d&&this.opt.vMinorLines){
+dojo.forEach(_d.minor,function(_14){
+var x=_8.l+ht(_14.value);
+s.createLine({x1:x,y1:_8.t,x2:x,y2:_7.height-_8.b}).setStroke(ta.minorTick);
+});
+}
+if(_d&&this.opt.vMajorLines){
+dojo.forEach(_d.major,function(_16){
+var x=_8.l+ht(_16.value);
+s.createLine({x1:x,y1:_8.t,x2:x,y2:_7.height-_8.b}).setStroke(ta.majorTick);
+});
+}
+}
+catch(e){
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Grid.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Lines.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Lines.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Lines.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Lines.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,15 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Lines"]){
+dojo._hasResource["dojox.charting.plot2d.Lines"]=true;
+dojo.provide("dojox.charting.plot2d.Lines");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.declare("dojox.charting.plot2d.Lines",dojox.charting.plot2d.Default,{constructor:function(){
+this.opt.lines=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Lines.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Markers.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Markers.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Markers.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Markers.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,15 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Markers"]){
+dojo._hasResource["dojox.charting.plot2d.Markers"]=true;
+dojo.provide("dojox.charting.plot2d.Markers");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.declare("dojox.charting.plot2d.Markers",dojox.charting.plot2d.Default,{constructor:function(){
+this.opt.markers=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Markers.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/MarkersOnly.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/MarkersOnly.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/MarkersOnly.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/MarkersOnly.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,16 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]){
+dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]=true;
+dojo.provide("dojox.charting.plot2d.MarkersOnly");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.declare("dojox.charting.plot2d.MarkersOnly",dojox.charting.plot2d.Default,{constructor:function(){
+this.opt.lines=false;
+this.opt.markers=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/MarkersOnly.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Pie.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Pie.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Pie.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Pie.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,207 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Pie"]){
+dojo._hasResource["dojox.charting.plot2d.Pie"]=true;
+dojo.provide("dojox.charting.plot2d.Pie");
+dojo.require("dojox.charting.Element");
+dojo.require("dojox.charting.axis2d.common");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.gfx");
+(function(){
+var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,da=dojox.charting.axis2d.common,g=dojox.gfx;
+dojo.declare("dojox.charting.plot2d.Pie",dojox.charting.Element,{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:true},optionalParams:{font:"",fontColor:"",radius:0},constructor:function(_6,_7){
+this.opt=dojo.clone(this.defaultParams);
+du.updateWithObject(this.opt,_7);
+du.updateWithPattern(this.opt,_7,this.optionalParams);
+this.run=null;
+this.dyn=[];
+},destroy:function(){
+this.resetEvents();
+this.inherited(arguments);
+},clear:function(){
+this.dirty=true;
+this.dyn=[];
+this.run=null;
+return this;
+},setAxis:function(_8){
+return this;
+},addSeries:function(_9){
+this.run=_9;
+return this;
+},calculateAxes:function(_a){
+return this;
+},getRequiredColors:function(){
+return this.run?this.run.data.length:0;
+},plotEvent:function(o){
+},connect:function(_c,_d){
+this.dirty=true;
+return dojo.connect(this,"plotEvent",_c,_d);
+},events:function(){
+var ls=this.plotEvent._listeners;
+if(!ls||!ls.length){
+return false;
+}
+for(var i in ls){
+if(!(i in Array.prototype)){
+return true;
+}
+}
+return false;
+},resetEvents:function(){
+this.plotEvent({type:"onplotreset",plot:this});
+},_connectEvents:function(_10,o){
+_10.connect("onmouseover",this,function(e){
+o.type="onmouseover";
+o.event=e;
+this.plotEvent(o);
+});
+_10.connect("onmouseout",this,function(e){
+o.type="onmouseout";
+o.event=e;
+this.plotEvent(o);
+});
+_10.connect("onclick",this,function(e){
+o.type="onclick";
+o.event=e;
+this.plotEvent(o);
+});
+},render:function(dim,_16){
+if(!this.dirty){
+return this;
+}
+this.dirty=false;
+this.cleanGroup();
+var s=this.group,_18,t=this.chart.theme;
+this.resetEvents();
+if(!this.run||!this.run.data.length){
+return this;
+}
+var rx=(dim.width-_16.l-_16.r)/2,ry=(dim.height-_16.t-_16.b)/2,r=Math.min(rx,ry),_1d="font" in this.opt?this.opt.font:t.axis.font,_1e=_1d?g.normalizedLength(g.splitFontString(_1d).size):0,_1f="fontColor" in this.opt?this.opt.fontColor:t.axis.fontColor,_20=0,_21,_22,_23,_24,_25,_26,run=this.run.data,_28=this.events();
+if(typeof run[0]=="number"){
+_22=df.map(run,"Math.max(x, 0)");
+if(df.every(_22,"<= 0")){
+return this;
+}
+_23=df.map(_22,"/this",df.foldl(_22,"+",0));
+if(this.opt.labels){
+_24=dojo.map(_23,function(x){
+return x>0?this._getLabel(x*100)+"%":"";
+},this);
+}
+}else{
+_22=df.map(run,"Math.max(x.y, 0)");
+if(df.every(_22,"<= 0")){
+return this;
+}
+_23=df.map(_22,"/this",df.foldl(_22,"+",0));
+if(this.opt.labels){
+_24=dojo.map(_23,function(x,i){
+if(x<=0){
+return "";
+}
+var v=run[i];
+return "text" in v?v.text:this._getLabel(x*100)+"%";
+},this);
+}
+}
+if(this.opt.labels){
+_25=df.foldl1(df.map(_24,function(_2d){
+return dojox.gfx._base._getTextBox(_2d,{font:_1d}).w;
+},this),"Math.max(a, b)")/2;
+if(this.opt.labelOffset<0){
+r=Math.min(rx-2*_25,ry-_1e)+this.opt.labelOffset;
+}
+_26=r-this.opt.labelOffset;
+}
+if("radius" in this.opt){
+r=this.opt.radius;
+_26=r-this.opt.labelOffset;
+}
+var _2e={cx:_16.l+rx,cy:_16.t+ry,r:r};
+this.dyn=[];
+dojo.some(_23,function(_2f,i){
+if(_2f<=0){
+return false;
+}
+var v=run[i];
+if(_2f>=1){
+var _32,_33,_34;
+if(typeof v=="object"){
+_32="color" in v?v.color:new dojo.Color(t.next("color"));
+_33="fill" in v?v.fill:dc.augmentFill(t.series.fill,_32);
+_34="stroke" in v?v.stroke:dc.augmentStroke(t.series.stroke,_32);
+}else{
+_32=new dojo.Color(t.next("color"));
+_33=dc.augmentFill(t.series.fill,_32);
+_34=dc.augmentStroke(t.series.stroke,_32);
+}
+var _35=s.createCircle(_2e).setFill(_33).setStroke(_34);
+this.dyn.push({color:_32,fill:_33,stroke:_34});
+if(_28){
+var o={element:"slice",index:i,run:this.run,plot:this,shape:_35,x:i,y:typeof v=="number"?v:v.y,cx:_2e.cx,cy:_2e.cy,cr:r};
+this._connectEvents(_35,o);
+}
+return true;
+}
+var end=_20+_2f*2*Math.PI;
+if(i+1==_23.length){
+end=2*Math.PI;
+}
+var _38=end-_20,x1=_2e.cx+r*Math.cos(_20),y1=_2e.cy+r*Math.sin(_20),x2=_2e.cx+r*Math.cos(end),y2=_2e.cy+r*Math.sin(end);
+var _32,_33,_34;
+if(typeof v=="object"){
+_32="color" in v?v.color:new dojo.Color(t.next("color"));
+_33="fill" in v?v.fill:dc.augmentFill(t.series.fill,_32);
+_34="stroke" in v?v.stroke:dc.augmentStroke(t.series.stroke,_32);
+}else{
+_32=new dojo.Color(t.next("color"));
+_33=dc.augmentFill(t.series.fill,_32);
+_34=dc.augmentStroke(t.series.stroke,_32);
+}
+var _35=s.createPath({}).moveTo(_2e.cx,_2e.cy).lineTo(x1,y1).arcTo(r,r,0,_38>Math.PI,true,x2,y2).lineTo(_2e.cx,_2e.cy).closePath().setFill(_33).setStroke(_34);
+this.dyn.push({color:_32,fill:_33,stroke:_34});
+if(_28){
+var o={element:"slice",index:i,run:this.run,plot:this,shape:_35,x:i,y:typeof v=="number"?v:v.y,cx:_2e.cx,cy:_2e.cy,cr:r};
+this._connectEvents(_35,o);
+}
+_20=end;
+return false;
+},this);
+if(this.opt.labels){
+_20=0;
+dojo.some(_23,function(_3d,i){
+if(_3d<=0){
+return false;
+}
+if(_3d>=1){
+var v=run[i],_40=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,_2e.cx,_2e.cy+_1e/2,"middle",_24[i],_1d,(typeof v=="object"&&"fontColor" in v)?v.fontColor:_1f);
+if(this.opt.htmlLabels){
+this.htmlElements.push(_40);
+}
+return true;
+}
+var end=_20+_3d*2*Math.PI,v=run[i];
+if(i+1==_23.length){
+end=2*Math.PI;
+}
+var _42=(_20+end)/2,x=_2e.cx+_26*Math.cos(_42),y=_2e.cy+_26*Math.sin(_42)+_1e/2;
+var _40=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_24[i],_1d,(typeof v=="object"&&"fontColor" in v)?v.fontColor:_1f);
+if(this.opt.htmlLabels){
+this.htmlElements.push(_40);
+}
+_20=end;
+return false;
+},this);
+}
+return this;
+},_getLabel:function(_45){
+return this.opt.fixed?_45.toFixed(this.opt.precision):_45.toString();
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Pie.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Scatter.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Scatter.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Scatter.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Scatter.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,16 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Scatter"]){
+dojo._hasResource["dojox.charting.plot2d.Scatter"]=true;
+dojo.provide("dojox.charting.plot2d.Scatter");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.declare("dojox.charting.plot2d.Scatter",dojox.charting.plot2d.Default,{constructor:function(){
+this.opt.lines=false;
+this.opt.markers=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Scatter.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Stacked.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Stacked.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Stacked.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Stacked.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,150 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.Stacked"]){
+dojo._hasResource["dojox.charting.plot2d.Stacked"]=true;
+dojo.provide("dojox.charting.plot2d.Stacked");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.sequence");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_3=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.Stacked",dojox.charting.plot2d.Default,{calculateAxes:function(_4){
+var _5=dc.collectStackedStats(this.series);
+this._maxRunLength=_5.hmax;
+this._calc(_4,_5);
+return this;
+},render:function(_6,_7){
+if(this._maxRunLength<=0){
+return this;
+}
+var _8=df.repeat(this._maxRunLength,"-> 0",0);
+for(var i=0;i<this.series.length;++i){
+var _a=this.series[i];
+for(var j=0;j<_a.data.length;++j){
+var v=_a.data[j];
+if(isNaN(v)){
+v=0;
+}
+_8[j]+=v;
+}
+}
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_3);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_e){
+_e.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_10,_11,_12,_13,_14=this.events(),ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var _a=this.series[i];
+if(!this.dirty&&!_a.dirty){
+continue;
+}
+_a.cleanGroup();
+var s=_a.group,_17=dojo.map(_8,function(v,i){
+return {x:ht(i+1)+_7.l,y:_6.height-_7.b-vt(v)};
+},this);
+if(!_a.fill||!_a.stroke){
+_12=new dojo.Color(t.next("color"));
+}
+var _1a=this.opt.tension?dc.curve(_17,this.opt.tension):"";
+if(this.opt.areas){
+var _1b=dojo.clone(_17);
+var _1c=_a.fill?_a.fill:dc.augmentFill(t.series.fill,_12);
+if(this.opt.tension){
+var p=dc.curve(_1b,this.opt.tension);
+p+=" L"+_17[_17.length-1].x+","+(_6.height-_7.b)+" L"+_17[0].x+","+(_6.height-_7.b)+" L"+_17[0].x+","+_17[0].y;
+_a.dyn.fill=s.createPath(p).setFill(_1c).getFill();
+}else{
+_1b.push({x:_17[_17.length-1].x,y:_6.height-_7.b});
+_1b.push({x:_17[0].x,y:_6.height-_7.b});
+_1b.push(_17[0]);
+_a.dyn.fill=s.createPolyline(_1b).setFill(_1c).getFill();
+}
+}
+if(this.opt.lines||this.opt.markers){
+_10=_a.stroke?dc.makeStroke(_a.stroke):dc.augmentStroke(t.series.stroke,_12);
+if(_a.outline||t.series.outline){
+_11=dc.makeStroke(_a.outline?_a.outline:t.series.outline);
+_11.width=2*_11.width+_10.width;
+}
+}
+if(this.opt.markers){
+_13=_a.dyn.marker=_a.marker?_a.marker:t.next("marker");
+}
+var _1e,_1f,_20;
+if(this.opt.shadows&&_10){
+var sh=this.opt.shadows,_22=new dojo.Color([0,0,0,0.3]),_23=dojo.map(_17,function(c){
+return {x:c.x+sh.dx,y:c.y+sh.dy};
+}),_25=dojo.clone(_11?_11:_10);
+_25.color=_22;
+_25.width+=sh.dw?sh.dw:0;
+if(this.opt.lines){
+if(this.opt.tension){
+_a.dyn.shadow=s.createPath(dc.curve(_23,this.opt.tension)).setStroke(_25).getStroke();
+}else{
+_a.dyn.shadow=s.createPolyline(_23).setStroke(_25).getStroke();
+}
+}
+if(this.opt.markers){
+_20=dojo.map(_23,function(c){
+return s.createPath("M"+c.x+" "+c.y+" "+_13).setStroke(_25).setFill(_22);
+},this);
+}
+}
+if(this.opt.lines){
+if(_11){
+if(this.opt.tension){
+_a.dyn.outline=s.createPath(_1a).setStroke(_11).getStroke();
+}else{
+_a.dyn.outline=s.createPolyline(_17).setStroke(_11).getStroke();
+}
+}
+if(this.opt.tension){
+_a.dyn.stroke=s.createPath(_1a).setStroke(_10).getStroke();
+}else{
+_a.dyn.stroke=s.createPolyline(_17).setStroke(_10).getStroke();
+}
+}
+if(this.opt.markers){
+_1e=new Array(_17.length);
+_1f=new Array(_17.length);
+dojo.forEach(_17,function(c,i){
+var _29="M"+c.x+" "+c.y+" "+_13;
+if(_11){
+_1f[i]=s.createPath(_29).setStroke(_11);
+}
+_1e[i]=s.createPath(_29).setStroke(_10).setFill(_10.color);
+},this);
+if(_14){
+dojo.forEach(_1e,function(s,i){
+var o={element:"marker",index:i,run:_a,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:s,outline:_1f[i]||null,shadow:_20&&_20[i]||null,cx:_17[i].x,cy:_17[i].y,x:i+1,y:_a.data[i]};
+this._connectEvents(s,o);
+},this);
+}
+}
+_a.dirty=false;
+for(var j=0;j<_a.data.length;++j){
+var v=_a.data[j];
+if(isNaN(v)){
+v=0;
+}
+_8[j]-=v;
+}
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/Stacked.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedAreas.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedAreas.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedAreas.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedAreas.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,16 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.StackedAreas"]){
+dojo._hasResource["dojox.charting.plot2d.StackedAreas"]=true;
+dojo.provide("dojox.charting.plot2d.StackedAreas");
+dojo.require("dojox.charting.plot2d.Stacked");
+dojo.declare("dojox.charting.plot2d.StackedAreas",dojox.charting.plot2d.Stacked,{constructor:function(){
+this.opt.lines=true;
+this.opt.areas=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedAreas.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedBars.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedBars.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedBars.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedBars.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,92 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.StackedBars"]){
+dojo._hasResource["dojox.charting.plot2d.StackedBars"]=true;
+dojo.provide("dojox.charting.plot2d.StackedBars");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Bars");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_3=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.StackedBars",dojox.charting.plot2d.Bars,{calculateAxes:function(_4){
+var _5=dc.collectStackedStats(this.series),t;
+this._maxRunLength=_5.hmax;
+_5.hmin-=0.5;
+_5.hmax+=0.5;
+t=_5.hmin,_5.hmin=_5.vmin,_5.vmin=t;
+t=_5.hmax,_5.hmax=_5.vmax,_5.vmax=t;
+this._calc(_4,_5);
+return this;
+},render:function(_7,_8){
+if(this._maxRunLength<=0){
+return this;
+}
+var _9=df.repeat(this._maxRunLength,"-> 0",0);
+for(var i=0;i<this.series.length;++i){
+var _b=this.series[i];
+for(var j=0;j<_b.data.length;++j){
+var v=_b.data[j];
+if(isNaN(v)){
+v=0;
+}
+_9[j]+=v;
+}
+}
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_3);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_f){
+_f.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_11,_12,_13,f,gap,_16,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_19=this.events();
+f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);
+gap=f.gap;
+_16=f.size;
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var _b=this.series[i];
+if(!this.dirty&&!_b.dirty){
+continue;
+}
+_b.cleanGroup();
+var s=_b.group;
+if(!_b.fill||!_b.stroke){
+_11=_b.dyn.color=new dojo.Color(t.next("color"));
+}
+_12=_b.stroke?_b.stroke:dc.augmentStroke(t.series.stroke,_11);
+_13=_b.fill?_b.fill:dc.augmentFill(t.series.fill,_11);
+for(var j=0;j<_9.length;++j){
+var v=_9[j],_1a=ht(v);
+if(_1a>=1&&_16>=1){
+var _1b=s.createRect({x:_8.l,y:_7.height-_8.b-vt(j+1.5)+gap,width:_1a,height:_16}).setFill(_13).setStroke(_12);
+_b.dyn.fill=_1b.getFill();
+_b.dyn.stroke=_1b.getStroke();
+if(_19){
+var o={element:"bar",index:j,run:_b,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:_1b,x:v,y:j+1.5};
+this._connectEvents(_1b,o);
+}
+}
+}
+_b.dirty=false;
+for(var j=0;j<_b.data.length;++j){
+var v=_b.data[j];
+if(isNaN(v)){
+v=0;
+}
+_9[j]-=v;
+}
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedBars.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedColumns.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedColumns.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedColumns.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedColumns.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,90 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.StackedColumns"]){
+dojo._hasResource["dojox.charting.plot2d.StackedColumns"]=true;
+dojo.provide("dojox.charting.plot2d.StackedColumns");
+dojo.require("dojox.charting.plot2d.common");
+dojo.require("dojox.charting.plot2d.Columns");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.reversed");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_3=df.lambda("item.purgeGroup()");
+dojo.declare("dojox.charting.plot2d.StackedColumns",dojox.charting.plot2d.Columns,{calculateAxes:function(_4){
+var _5=dc.collectStackedStats(this.series);
+this._maxRunLength=_5.hmax;
+_5.hmin-=0.5;
+_5.hmax+=0.5;
+this._calc(_4,_5);
+return this;
+},render:function(_6,_7){
+if(this._maxRunLength<=0){
+return this;
+}
+var _8=df.repeat(this._maxRunLength,"-> 0",0);
+for(var i=0;i<this.series.length;++i){
+var _a=this.series[i];
+for(var j=0;j<_a.data.length;++j){
+var v=_a.data[j];
+if(isNaN(v)){
+v=0;
+}
+_8[j]+=v;
+}
+}
+this.dirty=this.isDirty();
+if(this.dirty){
+dojo.forEach(this.series,_3);
+this.cleanGroup();
+var s=this.group;
+df.forEachRev(this.series,function(_e){
+_e.cleanGroup(s);
+});
+}
+var t=this.chart.theme,_10,_11,_12,f,gap,_15,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_18=this.events();
+f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);
+gap=f.gap;
+_15=f.size;
+this.resetEvents();
+for(var i=this.series.length-1;i>=0;--i){
+var _a=this.series[i];
+if(!this.dirty&&!_a.dirty){
+continue;
+}
+_a.cleanGroup();
+var s=_a.group;
+if(!_a.fill||!_a.stroke){
+_10=_a.dyn.color=new dojo.Color(t.next("color"));
+}
+_11=_a.stroke?_a.stroke:dc.augmentStroke(t.series.stroke,_10);
+_12=_a.fill?_a.fill:dc.augmentFill(t.series.fill,_10);
+for(var j=0;j<_8.length;++j){
+var v=_8[j],_19=vt(v);
+if(_15>=1&&_19>=1){
+var _1a=s.createRect({x:_7.l+ht(j+0.5)+gap,y:_6.height-_7.b-vt(v),width:_15,height:_19}).setFill(_12).setStroke(_11);
+_a.dyn.fill=_1a.getFill();
+_a.dyn.stroke=_1a.getStroke();
+if(_18){
+var o={element:"column",index:j,run:_a,plot:this,hAxis:this.hAxis||null,vAxis:this.vAxis||null,shape:_1a,x:j+0.5,y:v};
+this._connectEvents(_1a,o);
+}
+}
+}
+_a.dirty=false;
+for(var j=0;j<_a.data.length;++j){
+var v=_a.data[j];
+if(isNaN(v)){
+v=0;
+}
+_8[j]-=v;
+}
+}
+this.dirty=false;
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedColumns.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedLines.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedLines.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedLines.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedLines.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,15 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.StackedLines"]){
+dojo._hasResource["dojox.charting.plot2d.StackedLines"]=true;
+dojo.provide("dojox.charting.plot2d.StackedLines");
+dojo.require("dojox.charting.plot2d.Stacked");
+dojo.declare("dojox.charting.plot2d.StackedLines",dojox.charting.plot2d.Stacked,{constructor:function(){
+this.opt.lines=true;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/StackedLines.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/common.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/common.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/common.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/common.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,210 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot2d.common"]){
+dojo._hasResource["dojox.charting.plot2d.common"]=true;
+dojo.provide("dojox.charting.plot2d.common");
+dojo.require("dojo.colors");
+dojo.require("dojox.gfx");
+dojo.require("dojox.lang.functional");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting.plot2d.common;
+dojo.mixin(dojox.charting.plot2d.common,{makeStroke:function(_3){
+if(!_3){
+return _3;
+}
+if(typeof _3=="string"||_3 instanceof dojo.Color){
+_3={color:_3};
+}
+return dojox.gfx.makeParameters(dojox.gfx.defaultStroke,_3);
+},augmentColor:function(_4,_5){
+var t=new dojo.Color(_4),c=new dojo.Color(_5);
+c.a=t.a;
+return c;
+},augmentStroke:function(_8,_9){
+var s=dc.makeStroke(_8);
+if(s){
+s.color=dc.augmentColor(s.color,_9);
+}
+return s;
+},augmentFill:function(_b,_c){
+var fc,c=new dojo.Color(_c);
+if(typeof _b=="string"||_b instanceof dojo.Color){
+return dc.augmentColor(_b,_c);
+}
+return _b;
+},defaultStats:{hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY,vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_f){
+var _10=dojo.clone(dc.defaultStats);
+for(var i=0;i<_f.length;++i){
+var run=_f[i];
+if(!run.data.length){
+continue;
+}
+if(typeof run.data[0]=="number"){
+var _13=_10.vmin,_14=_10.vmax;
+if(!("ymin" in run)||!("ymax" in run)){
+dojo.forEach(run.data,function(val,i){
+var x=i+1,y=val;
+if(isNaN(y)){
+y=0;
+}
+_10.hmin=Math.min(_10.hmin,x);
+_10.hmax=Math.max(_10.hmax,x);
+_10.vmin=Math.min(_10.vmin,y);
+_10.vmax=Math.max(_10.vmax,y);
+});
+}
+if("ymin" in run){
+_10.vmin=Math.min(_13,run.ymin);
+}
+if("ymax" in run){
+_10.vmax=Math.max(_14,run.ymax);
+}
+}else{
+var _19=_10.hmin,_1a=_10.hmax,_13=_10.vmin,_14=_10.vmax;
+if(!("xmin" in run)||!("xmax" in run)||!("ymin" in run)||!("ymax" in run)){
+dojo.forEach(run.data,function(val,i){
+var x=val.x,y=val.y;
+if(isNaN(x)){
+x=0;
+}
+if(isNaN(y)){
+y=0;
+}
+_10.hmin=Math.min(_10.hmin,x);
+_10.hmax=Math.max(_10.hmax,x);
+_10.vmin=Math.min(_10.vmin,y);
+_10.vmax=Math.max(_10.vmax,y);
+});
+}
+if("xmin" in run){
+_10.hmin=Math.min(_19,run.xmin);
+}
+if("xmax" in run){
+_10.hmax=Math.max(_1a,run.xmax);
+}
+if("ymin" in run){
+_10.vmin=Math.min(_13,run.ymin);
+}
+if("ymax" in run){
+_10.vmax=Math.max(_14,run.ymax);
+}
+}
+}
+return _10;
+},calculateBarSize:function(_1f,opt,_21){
+if(!_21){
+_21=1;
+}
+var gap=opt.gap,_23=(_1f-2*gap)/_21;
+if("minBarSize" in opt){
+_23=Math.max(_23,opt.minBarSize);
+}
+if("maxBarSize" in opt){
+_23=Math.min(_23,opt.maxBarSize);
+}
+_23=Math.max(_23,1);
+gap=(_1f-_23*_21)/2;
+return {size:_23,gap:gap};
+},collectStackedStats:function(_24){
+var _25=dojo.clone(dc.defaultStats);
+if(_24.length){
+_25.hmin=Math.min(_25.hmin,1);
+_25.hmax=df.foldl(_24,"seed, run -> Math.max(seed, run.data.length)",_25.hmax);
+for(var i=0;i<_25.hmax;++i){
+var v=_24[0].data[i];
+if(isNaN(v)){
+v=0;
+}
+_25.vmin=Math.min(_25.vmin,v);
+for(var j=1;j<_24.length;++j){
+var t=_24[j].data[i];
+if(isNaN(t)){
+t=0;
+}
+v+=t;
+}
+_25.vmax=Math.max(_25.vmax,v);
+}
+}
+return _25;
+},curve:function(a,_2b){
+var arr=a.slice(0);
+if(_2b=="x"){
+arr[arr.length]=arr[0];
+}
+var p=dojo.map(arr,function(_2e,i){
+if(i==0){
+return "M"+_2e.x+","+_2e.y;
+}
+if(!isNaN(_2b)){
+var dx=_2e.x-arr[i-1].x,dy=arr[i-1].y;
+return "C"+(_2e.x-(_2b-1)*(dx/_2b))+","+dy+" "+(_2e.x-(dx/_2b))+","+_2e.y+" "+_2e.x+","+_2e.y;
+}else{
+if(_2b=="X"||_2b=="x"||_2b=="S"){
+var p0,p1=arr[i-1],p2=arr[i],p3;
+var _36,_37,_38,_39;
+var f=1/6;
+if(i==1){
+if(_2b=="x"){
+p0=arr[arr.length-2];
+}else{
+p0=p1;
+}
+f=1/3;
+}else{
+p0=arr[i-2];
+}
+if(i==(arr.length-1)){
+if(_2b=="x"){
+p3=arr[1];
+}else{
+p3=p2;
+}
+f=1/3;
+}else{
+p3=arr[i+1];
+}
+var _3b=Math.sqrt((p2.x-p1.x)*(p2.x-p1.x)+(p2.y-p1.y)*(p2.y-p1.y));
+var _3c=Math.sqrt((p2.x-p0.x)*(p2.x-p0.x)+(p2.y-p0.y)*(p2.y-p0.y));
+var _3d=Math.sqrt((p3.x-p1.x)*(p3.x-p1.x)+(p3.y-p1.y)*(p3.y-p1.y));
+var _3e=_3c*f;
+var _3f=_3d*f;
+if(_3e>_3b/2&&_3f>_3b/2){
+_3e=_3b/2;
+_3f=_3b/2;
+}else{
+if(_3e>_3b/2){
+_3e=_3b/2;
+_3f=_3b/2*_3d/_3c;
+}else{
+if(_3f>_3b/2){
+_3f=_3b/2;
+_3e=_3b/2*_3c/_3d;
+}
+}
+}
+if(_2b=="S"){
+if(p0==p1){
+_3e=0;
+}
+if(p2==p3){
+_3f=0;
+}
+}
+_36=p1.x+_3e*(p2.x-p0.x)/_3c;
+_37=p1.y+_3e*(p2.y-p0.y)/_3c;
+_38=p2.x-_3f*(p3.x-p1.x)/_3d;
+_39=p2.y-_3f*(p3.y-p1.y)/_3d;
+}
+}
+return "C"+(_36+","+_37+" "+_38+","+_39+" "+p2.x+","+p2.y);
+});
+return p.join(" ");
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot2d/common.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot3d/Bars.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot3d/Bars.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot3d/Bars.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot3d/Bars.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,64 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.plot3d.Bars"]){
+dojo._hasResource["dojox.charting.plot3d.Bars"]=true;
+dojo.provide("dojox.charting.plot3d.Bars");
+dojo.require("dojox.charting.plot3d.Base");
+(function(){
+var _1=function(a,f,o){
+a=typeof a=="string"?a.split(""):a;
+o=o||dojo.global;
+var z=a[0];
+for(var i=1;i<a.length;z=f.call(o,z,a[i++])){
+}
+return z;
+};
+dojo.declare("dojox.charting.plot3d.Bars",dojox.charting.plot3d.Base,{constructor:function(_7,_8,_9){
+this.depth="auto";
+this.gap=0;
+this.data=[];
+this.material={type:"plastic",finish:"dull",color:"lime"};
+if(_9){
+if("depth" in _9){
+this.depth=_9.depth;
+}
+if("gap" in _9){
+this.gap=_9.gap;
+}
+if("material" in _9){
+var m=_9.material;
+if(typeof m=="string"||m instanceof dojo.Color){
+this.material.color=m;
+}else{
+this.material=m;
+}
+}
+}
+},getDepth:function(){
+if(this.depth=="auto"){
+var w=this.width;
+if(this.data&&this.data.length){
+w=w/this.data.length;
+}
+return w-2*this.gap;
+}
+return this.depth;
+},generate:function(_c,_d){
+if(!this.data){
+return this;
+}
+var _e=this.width/this.data.length,_f=0,_10=this.depth=="auto"?_e-2*this.gap:this.depth,_11=this.height/_1(this.data,Math.max);
+if(!_d){
+_d=_c.view;
+}
+for(var i=0;i<this.data.length;++i,_f+=_e){
+_d.createCube({bottom:{x:_f+this.gap,y:0,z:0},top:{x:_f+_e-this.gap,y:this.data[i]*_11,z:_10}}).setFill(this.material);
+}
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/plot3d/Bars.js
------------------------------------------------------------------------------
    svn:eol-style = native