a:18:{s:9:"#provides";s:29:"dojox.charting.action2d.Shake";s:9:"#resource";s:26:"charting/action2d/Shake.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:28:"dojox.charting.action2d.Base";}i:1;a:2:{i:0;s:6:"common";i:1;s:16:"dojox.gfx.matrix";}i:2;a:3:{i:0;s:6:"common";i:1;s:7:"dojo.fx";i:2;s:4:"dojo";}}s:29:"dojox.charting.action2d.Shake";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:28:"dojox.charting.action2d.Base";}s:4:"call";a:1:{i:0;s:28:"dojox.charting.action2d.Base";}}s:10:"parameters";a:3:{s:5:"chart";a:1:{s:4:"type";s:0:"";}s:4:"plot";a:1:{s:4:"type";s:0:"";}s:6:"kwArgs";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:1004:"dojo.provide("dojox.charting.action2d.Shake"); dojo.require("dojox.charting.action2d.Base"); dojo.require("dojox.gfx.matrix"); dojo.require("dojo.fx"); (function(){ var DEFAULT_SHIFT = 3, m = dojox.gfx.matrix, gf = dojox.gfx.fx; dojo.declare("dojox.charting.action2d.Shake", dojox.charting.action2d.Base, { // the data description block for the widget parser defaultParams: { duration: 400, // duration of the action in ms easing: dojo.fx.easing.backOut, // easing for the action shiftX: DEFAULT_SHIFT, // shift of the element along the X axis shiftY: DEFAULT_SHIFT // shift of the element along the Y axis }, optionalParams: {}, // no optional parameters constructor: function(chart, plot, kwArgs){ // process optional named parameters if(!kwArgs){ kwArgs = {}; } this.shiftX = typeof kwArgs.shiftX == "number" ? kwArgs.shiftX : DEFAULT_SHIFT; this.shiftY = typeof kwArgs.shiftY == "number" ? kwArgs.shiftY : DEFAULT_SHIFT; this.connect();";s:9:"classlike";b:1;s:7:"summary";s:0:"";}s:43:"dojox.charting.action2d.Shake.defaultParams";a:3:{s:9:"prototype";s:29:"dojox.charting.action2d.Shake";s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:44:"dojox.charting.action2d.Shake.optionalParams";a:3:{s:9:"prototype";s:29:"dojox.charting.action2d.Shake";s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:37:"dojox.charting.action2d.Shake.process";a:5:{s:9:"prototype";s:29:"dojox.charting.action2d.Shake";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"o";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:1301:" if(!o.shape || !(o.type in this.overOutEvents)){ return; } var runName = o.run.name, index = o.index, vector = [], anim, shiftX = o.type == "onmouseover" ? this.shiftX : -this.shiftX, shiftY = o.type == "onmouseover" ? this.shiftY : -this.shiftY; if(runName in this.anim){ anim = this.anim[runName][index]; }else{ this.anim[runName] = {}; } if(anim){ anim.action.stop(true); }else{ this.anim[runName][index] = anim = {}; } var kwArgs = { 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){ vector.push(gf.animateTransform(kwArgs)); } if(o.oultine){ kwArgs.shape = o.outline; vector.push(gf.animateTransform(kwArgs)); } if(o.shadow){ kwArgs.shape = o.shadow; vector.push(gf.animateTransform(kwArgs)); } if(!vector.length){ delete this.anim[runName][index]; return; } anim.action = dojo.fx.combine(vector); if(o.type == "onmouseout"){ dojo.connect(anim.action, "onEnd", this, function(){ if(this.anim[runName]){ delete this.anim[runName][index]; } }); } anim.action.play();";s:7:"summary";s:0:"";}s:52:"dojox.charting.action2d.Shake.defaultParams.duration";a:1:{s:7:"summary";s:0:"";}s:50:"dojox.charting.action2d.Shake.defaultParams.easing";a:1:{s:7:"summary";s:0:"";}s:50:"dojox.charting.action2d.Shake.defaultParams.shiftX";a:1:{s:7:"summary";s:0:"";}s:50:"dojox.charting.action2d.Shake.defaultParams.shiftY";a:1:{s:7:"summary";s:0:"";}s:36:"dojox.charting.action2d.Shake.shiftX";a:2:{s:8:"instance";s:29:"dojox.charting.action2d.Shake";s:7:"summary";s:0:"";}s:36:"dojox.charting.action2d.Shake.shiftY";a:2:{s:8:"instance";s:29:"dojox.charting.action2d.Shake";s:7:"summary";s:0:"";}s:1:"m";a:1:{s:7:"summary";s:0:"";}s:2:"gf";a:1:{s:7:"summary";s:0:"";}s:23:"dojox.charting.action2d";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:14:"dojox.charting";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}