summaryrefslogtreecommitdiff
path: root/includes/js/dojox/charting/Series.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/charting/Series.js')
-rw-r--r--includes/js/dojox/charting/Series.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/includes/js/dojox/charting/Series.js b/includes/js/dojox/charting/Series.js
new file mode 100644
index 0000000..06115ec
--- /dev/null
+++ b/includes/js/dojox/charting/Series.js
@@ -0,0 +1,20 @@
+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 = {};
+ }
+});
+
+}