21 lines
572 B
JavaScript
21 lines
572 B
JavaScript
|
if(!dojo._hasResource["dojox.charting.Series"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
||
|
dojo._hasResource["dojox.charting.Series"] = true;
|
||
|
dojo.provide("dojox.charting.Series");
|
||
|
|
||
|
dojo.require("dojox.charting.Element");
|
||
|
|
||
|
dojo.declare("dojox.charting.Series", dojox.charting.Element, {
|
||
|
constructor: function(chart, data, kwArgs){
|
||
|
dojo.mixin(this, kwArgs);
|
||
|
if(typeof this.plot != "string"){ this.plot = "default"; }
|
||
|
this.data = data;
|
||
|
this.dirty = true;
|
||
|
this.clear();
|
||
|
},
|
||
|
clear: function(){
|
||
|
this.dyn = {};
|
||
|
}
|
||
|
});
|
||
|
|
||
|
}
|