StackedColumnSeries.js revision 82d0cf8c731b23f6a2fbb31e3e696e629444363e
/**
* @private
*/
drawSeries: function()
{
{
return;
}
i = 0,
left,
totalWidth = len * w,
this._createMarkerCache();
{
w *= ratio;
w = Math.max(w, 1);
}
if(!useOrigin)
{
}
else
{
negativeBaseValues = [];
positiveBaseValues = [];
}
for(i = 0; i < len; ++i)
{
if(useOrigin)
{
h = this._bottomOrigin - top;
if(top < this._bottomOrigin)
{
positiveBaseValues[i] = top;
negativeBaseValues[i] = this._bottomOrigin;
}
else if(top > this._bottomOrigin)
{
positiveBaseValues[i] = this._bottomOrigin;
negativeBaseValues[i] = top;
}
else
{
positiveBaseValues[i] = top;
negativeBaseValues[i] = top;
}
}
else
{
if(top > this._bottomOrigin)
{
h = negativeBaseValues[i] - top;
negativeBaseValues[i] = top;
}
else if(top < this._bottomOrigin)
{
h = positiveBaseValues[i] - top;
positiveBaseValues[i] = top;
}
}
}
this._clearMarkerCache();
},
/**
* @private
* Resizes and positions markers based on a mouse interaction.
*/
updateMarkerState: function(type, i)
{
if(this._markers[i])
{
var styles,
graphic = this._graphicCollection[i],
offset = 0;
}
},
/**
* @private
*/
_getPlotDefaults: function()
{
var defs = {
fill:{
type: "solid",
alpha: 1,
colors:null,
alphas: null,
ratios: null
},
border:{
weight: 0,
alpha: 1
},
width: 24,
height: 24,
shape: "rect",
padding:{
top: 0,
left: 0,
right: 0,
bottom: 0
}
};
return defs;
}
}, {
ATTRS: {
type: {
value: "stackedColumn"
},
value: null
},
value: null
}
}
});