source: Dev/trunk/src/client/dojox/charting/plot3d/Base.js @ 512

Last change on this file since 512 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 666 bytes
Line 
1define(["dojo/_base/declare", "dojo/has"],
2  function(declare, has) {
3        var Base = declare("dojox.charting.plot3d.Base", null, {
4                constructor: function(width, height, kwArgs){
5                        this.width  = width;
6                        this.height = height;
7                },
8                setData: function(data){
9                        this.data = data ? data : [];
10                        return this;
11                },
12                getDepth: function(){
13                        return this.depth;
14                },
15                generate: function(chart, creator){
16                }
17        });
18        if(has("dojo-bidi")){
19                Base.extend({
20                        _checkOrientation: function(chart){
21                                if(chart.isMirrored){
22                                        chart.applyMirroring(chart.view, {width: this.width, height: this.height}, {l: 0, r: 0, t: 0, b: 0});
23                                }                       
24                        }                       
25                });
26        }
27        return Base;
28});
29
Note: See TracBrowser for help on using the repository browser.