| 1 |
define(["dojo/_base/declare", "dojo/_base/lang", "./Bars", "./commonStacked"], |
| 2 |
function(declare, lang, Bars, commonStacked){ |
| 3 |
|
| 4 |
return declare("dojox.charting.plot2d.StackedBars", Bars, { |
| 5 |
|
| 6 |
|
| 7 |
getSeriesStats: function(){ |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
var stats = commonStacked.collectStats(this.series, lang.hitch(this, "isNullValue")), t; |
| 13 |
stats.hmin -= 0.5; |
| 14 |
stats.hmax += 0.5; |
| 15 |
t = stats.hmin, stats.hmin = stats.vmin, stats.vmin = t; |
| 16 |
t = stats.hmax, stats.hmax = stats.vmax, stats.vmax = t; |
| 17 |
return stats; |
| 18 |
}, |
| 19 |
rearrangeValues: function(values, transform, baseline){ |
| 20 |
return commonStacked.rearrangeValues.call(this, values, transform, baseline); |
| 21 |
} |
| 22 |
}); |
| 23 |
}); |