[ 3 posts ]

Eric Durbin

YUI Contributor

  • Username: edurbin
  • Joined: Wed Jul 13, 2011 5:41 am
  • Posts: 50
  • GitHub: edurbin
  • Gists: edurbin
  • Offline
  • Profile
Tags:

bug in yui 3.4.0 charts

Post Posted: Mon Aug 22, 2011 9:31 am
+0-
positiveBaseValues is null
[Break On This Error] top = positiveBaseValues[i] - (this._bottomOrigin - top);

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 435
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile

Re: bug in yui 3.4.0 charts

Post Posted: Mon Aug 22, 2011 9:31 pm
+0-
Hi,
Could you file a ticket for this? Please include a repro case. If you don't have a repro link available, basic code or dataProvider values that cause the issue will suffice.

Thanks much,
Tripp

Eric Durbin

YUI Contributor

  • Username: edurbin
  • Joined: Wed Jul 13, 2011 5:41 am
  • Posts: 50
  • GitHub: edurbin
  • Gists: edurbin
  • Offline
  • Profile
Tags:

Re: bug in yui 3.4.0 charts

Post Posted: Thu Sep 01, 2011 12:19 pm
+0-
I've sent you a private message with my graph object causing the issue.

This fixes the problem
Code:
            if(!useOrigin)
            {
               lastCollection = seriesCollection[order - 1];
               negativeBaseValues = lastCollection.get("negativeBaseValues");
               positiveBaseValues = lastCollection.get("positiveBaseValues");
               if(!negativeBaseValues) {
                  negativeBaseValues = [];
               }
               if(!positiveBaseValues) {
                  positiveBaseValues = [];
               }
            }
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum