id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking
11573,Vertical max calculations for stacked-plot axes not consistent with how values are populated,mcchriste,Eugene Lazutkin,"In the dojox.charting.plot2d.common.js file, in the collectStackedStats function, the calculation uses only the value of the series[?].data[i] to compute the max value instead of possibly getting the value of the series[?].data[i].y value, like the stacked plots do. This leads to improper scaling on the vertical axes so that data is badly cut off when series are specified as [(y:1},{y:5}]
Current:
{{{
var v = series[0].data[i];
if(isNaN(v)){ v = 0; }
}}}
and
{{{
var t = series[j].data[i];
if(isNaN(t)){ t = 0; }
}}}
Both need to be changed by appending another line here like so:
{{{
var value = series[0].data[i];
var v = typeof value == ""number"" ? value : value.y;
if(isNaN(v)){ v = 0; }
}}}
",defect,closed,high,1.6,Charting,1.5,fixed,Charting 2D Max Stacked,,,