Hi Facundo,

You should definitely not use the obfuscated properties inside the data or
chart objects, since they will change, even with the very same version
occasionally, if need be.  There is a getColumnType() method that you could
have used for what you wanted.
https://developers.google.com/chart/interactive/docs/reference#DataTable_getColumnType

Version 45.1 is almost the same as 45, at least from the API perspective.
The changes were mostly internal refactoring and a couple small bug fixes,
so I decided to treat this as just an update of the last release.  I
haven't updated the documentation yet to include the bug fixes.

On Mon, Jan 16, 2017 at 3:21 AM, Facundo Ferrer <
[email protected]> wrote:

> Hello Daniel,
>
> I've realized that my code stop working after the change of 'current'
> version to v45.1. I do some checks inside of a DataTable structure and it
> seems that some keys has changed.
> This is the example code that stop working for me:
> let dt = google.visualization.arrayToDataTable(da);
> if (data.Sf[0].type == 'datetime') { ....
>
> Now I had to change it to:
> if (data.pg[0].type == 'datetime') { ....
>
> Maybe this is not the correct way to check the data type of one of my
> columns but in any case if the version is updated (to 45.1 in this case) I
> would expect a new release in the official release page otherwise is weird
> that 'current' version is not pointing to Septmber 12, 2016 release.
>
> Best regards,
>
>
> Am Montag, 5. Dezember 2016 22:36:14 UTC+1 schrieb Daniel LaLiberte:
>>
>> I have updated Google Charts for 'upcoming' to load v45.1, which contains
>> mostly refactoring changes for security, and a couple small bug fixes:
>>
>>    - corecharts: Fix to avoid failures when chartArea bottom and right
>>    options are too large.
>>    - Gantt chart: Now returns 'row' property in selected items.
>>
>> Please test and report problems here.
>>
>> After a week of testing, the 'current' version, which is now v45, will
>> redirect to v45.1, and 'upcoming' will again be the same as 'current'.  And
>> if problems show up then, I can quickly switch back to v45.
>>
>> This is a new way of deploying the release that should avoid caching
>> problems as we have experienced in the past.
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> [email protected]   5CC, Cambridge MA
>>
>
> Lerne uns auf Facebook <http://goo.gl/KOxP7f> und LinkedIn
> <https://www.linkedin.com/company/itm-beratungsgesellschaft-mbh> kennen.
>
> Geschäftsführer: Benjamin Hermann, Dr. Stefan Zerbe. Amtsgericht
> Stuttgart HRB 22526, Gerichtsstand Stuttgart. Die genannten Angaben werden
> automatisch hinzugefügt und lassen keine Rückschlüsse auf den
> Rechtscharakter der E-Mail zu. This message (including any attachments)
> contains confidential information intended for a specific individual and
> purpose, and is protected by law. If you are not the intended recipient,
> you should delete this message. Any disclosure, copying, or distribution of
> this message, or the taking of any action based on it, is strictly
> prohibited.
>
> --
> 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 google-visualization-api@
> googlegroups.com.
> Visit this group at https://groups.google.com/
> group/google-visualization-api.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-visualization-api/6426c358-f910-4384-92d2-
> 24115b1bfaf4%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/6426c358-f910-4384-92d2-24115b1bfaf4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNwD0v6kNgx6hGmLm-4jJG7hpS_Ru66b63mzs1Qw0Tvow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to