Skip to content

Commit

Permalink
Merge branch 'tripp/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tripp committed Jul 27, 2011
2 parents 8b725a0 + 85987e7 commit 9c39ee6
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 47 deletions.
43 changes: 30 additions & 13 deletions build/charts/charts-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -8095,7 +8095,7 @@ Y.StackedColumnSeries = Y.Base.create("stackedColumnSeries", Y.ColumnSeries, [Y.
negativeBaseValues[i] = this._bottomOrigin;
positiveBaseValues[i] = this._bottomOrigin;
}

this._markers.push(null);
continue;
}
if(useOrigin)
Expand Down Expand Up @@ -8134,12 +8134,19 @@ Y.StackedColumnSeries = Y.Base.create("stackedColumnSeries", Y.ColumnSeries, [Y.
positiveBaseValues[i] = top;
}
}
left -= w/2;
style.width = w;
style.height = h;
style.x = left;
style.y = top;
marker = this.getMarker(style, graphOrder, i);
if(!isNaN(h) && h > 0)
{
left -= w/2;
style.width = w;
style.height = h;
style.x = left;
style.y = top;
marker = this.getMarker(style, graphOrder, i);
}
else
{
this._markers.push(null);
}
}
this._clearMarkerCache();
},
Expand Down Expand Up @@ -8168,6 +8175,7 @@ Y.StackedColumnSeries = Y.Base.create("stackedColumnSeries", Y.ColumnSeries, [Y.
markerStyles.height = marker.get("height");
markerStyles.x = (xcoords[i] - offset);
markerStyles.y = marker.get("y");
markerStyles.id = marker.get("id");
marker.set(markerStyles);
}
},
Expand Down Expand Up @@ -8351,6 +8359,7 @@ Y.StackedBarSeries = Y.Base.create("stackedBarSeries", Y.BarSeries, [Y.StackingU
positiveBaseValues[i] = this._leftOrigin;
negativeBaseValues[i] = this._leftOrigin;
}
this._markers.push(null);
continue;
}
if(useOrigin)
Expand Down Expand Up @@ -8389,12 +8398,19 @@ Y.StackedBarSeries = Y.Base.create("stackedBarSeries", Y.BarSeries, [Y.StackingU
left -= w;
}
}
top -= h/2;
style.width = w;
style.height = h;
style.x = left;
style.y = top;
marker = this.getMarker(style, graphOrder, i);
if(!isNaN(w) && w > 0)
{
top -= h/2;
style.width = w;
style.height = h;
style.x = left;
style.y = top;
marker = this.getMarker(style, graphOrder, i);
}
else
{
this._markers.push(null);
}
}
this._clearMarkerCache();
},
Expand All @@ -8421,6 +8437,7 @@ Y.StackedBarSeries = Y.Base.create("stackedBarSeries", Y.BarSeries, [Y.StackingU
markerStyles.y = (ycoords[i] - h/2);
markerStyles.x = marker.get("x");
markerStyles.width = marker.get("width");
markerStyles.id = marker.get("id");
marker.set(markerStyles);
}
},
Expand Down
Loading

0 comments on commit 9c39ee6

Please sign in to comment.