You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
666 B
29 lines
666 B
define(["dojo/_base/declare", "dojo/has"], |
|
function(declare, has) { |
|
var Base = declare("dojox.charting.plot3d.Base", null, { |
|
constructor: function(width, height, kwArgs){ |
|
this.width = width; |
|
this.height = height; |
|
}, |
|
setData: function(data){ |
|
this.data = data ? data : []; |
|
return this; |
|
}, |
|
getDepth: function(){ |
|
return this.depth; |
|
}, |
|
generate: function(chart, creator){ |
|
} |
|
}); |
|
if(has("dojo-bidi")){ |
|
Base.extend({ |
|
_checkOrientation: function(chart){ |
|
if(chart.isMirrored){ |
|
chart.applyMirroring(chart.view, {width: this.width, height: this.height}, {l: 0, r: 0, t: 0, b: 0}); |
|
} |
|
} |
|
}); |
|
} |
|
return Base; |
|
}); |
|
|
|
|