The internal workings of the API are not guaranteed to be stable.  Whatever 
you are trying to accomplish, there is likely a supported way of getting 
the information you need without resorting to accessing the internal 
properties of Visualization API components.  I assume that your code is 
trying to access some information about a DataTable - what is it that you 
need to know?  If you are trying to get a count of rows, the proper way to 
do so is to use the #getNumberOfRows method.  If you are trying to get a 
count of columns, the proper way to do so is to use the #getNumberOfColumns 
method.

var rowCount = dataState.getNumberOfRows();
var columnCount = dataState.getNumberOfColumns();


On Thursday, April 3, 2014 2:27:32 PM UTC-4, Ravindra Gharge wrote:
>
>
> Today suddenly my charts stopped working which was working fine some days 
> back.
>
> I seen the error log error was “TypeError: dataToTest.xf is not an object”, I 
> checked the data Objet by printing on the console that time I came to 
> know Google had changed the Object format.
>
> I have this line in my code 
>
> var numb = Object.keys(dataState['xf']).length; 
>
> for getting the no of elements from data object but in the console I 
> checked  xf  get replaced by zf.
>
> Why Google change this? I have subscription of the notification about the 
> Google visualization API then also I not got any notification about this 
> change 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to