| 1 |
define(["dojo/_base/lang", "dojo/_base/declare", "dojo/Evented"], |
| 2 |
function(lang, declare, Evented){ |
| 3 |
|
| 4 |
return declare("dojox.charting.action2d.Base", Evented, { |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
constructor: function(chart, plot){ |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
this.chart = chart; |
| 16 |
this.plot = plot ? (lang.isString(plot) ? this.chart.getPlot(plot) : plot) : this.chart.getPlot("default"); |
| 17 |
}, |
| 18 |
|
| 19 |
connect: function(){ |
| 20 |
|
| 21 |
|
| 22 |
}, |
| 23 |
|
| 24 |
disconnect: function(){ |
| 25 |
|
| 26 |
|
| 27 |
}, |
| 28 |
|
| 29 |
destroy: function(){ |
| 30 |
|
| 31 |
|
| 32 |
this.disconnect(); |
| 33 |
} |
| 34 |
}); |
| 35 |
|
| 36 |
}); |