Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Address issue in which a chart was not visible when the dataProvider changed from large to small values. #1079

Open
wants to merge 1 commit into from

2 participants

tripp bridges Eric Ferraiuolo
tripp bridges
Owner

Fix #1056. Charts weren't rendering properly when the dataProvider was updated with large values and updated again with smaller values.

This fix has been tested across all a-grade browsers plus win7/ie11 and win8.1/ie11. (unit and functional)

tripp bridges tripp Fix #1056. Charts weren't rendering properly when the dataProvider wa…
…s updated with large values and updated again with smaller values.
8005281
Eric Ferraiuolo
Owner

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 12, 2013
  1. tripp bridges

    Fix #1056. Charts weren't rendering properly when the dataProvider wa…

    tripp authored
    …s updated with large values and updated again with smaller values.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/charts/js/Graph.js
5 src/charts/js/Graph.js
View
@@ -780,7 +780,10 @@ Y.Graph = Y.Base.create("graph", Y.Widget, [Y.Renderer], {
{
if(!this._graphic)
{
- this._graphic = new Y.Graphic({render:this.get("contentBox")});
+ this._graphic = new Y.Graphic({
+ render:this.get("contentBox"),
+ resizeDown: true
+ });
this._graphic.get("node").style.zIndex = 2;
this._graphic.set("autoDraw", false);
}
Something went wrong with that request. Please try again.