[visualization-api] Google Charts 'upcoming' release of v50

2021-03-31 Thread 'Daniel LaLiberte' via Google Visualization API
Google Charts version '50' is now available. As before, you can use this upcoming version by loading 'upcoming'. Please test the new features and let us know if you experience any issues. google.charts.load('*upcoming*', {packages: ['corechart']}); *Anticipated production release date

Re: [visualization-api] Issue with Ajax/JSON

2021-03-31 Thread Chris Thomas
Error displayed when sending data in array variable. *Uncaught (in promise) Error: Column header row must be an array.* No error when using the exact same string hard coded. On Wednesday, March 31, 2021 at 4:08:42 PM UTC-4 Chris Thomas wrote: > as I said, the first works and removing new has n

Re: [visualization-api] Issue with Ajax/JSON

2021-03-31 Thread Chris Thomas
Error is "Uncaught (in promise) Error: Column header row must be an array" when sending in variable, no error when using the string. On Wednesday, March 31, 2021 at 4:08:42 PM UTC-4 Chris Thomas wrote: > as I said, the first works and removing new has no impact on the other > running. So not t

Re: [visualization-api] Issue with Ajax/JSON

2021-03-31 Thread Chris Thomas
as I said, the first works and removing new has no impact on the other running. So not the issue. On Wednesday, March 31, 2021 at 4:06:48 PM UTC-4 Daniel LaLiberte wrote: > google.visualization.arrayToDataTable is not a constructor, but just a > function that internally calls the DataTable con

Re: [visualization-api] Issue with Ajax/JSON

2021-03-31 Thread 'Daniel LaLiberte' via Google Visualization API
google.visualization.arrayToDataTable is not a constructor, but just a function that internally calls the DataTable constructor. So remove the 'new' operator and both might work. Not sure why it would work differently for each of your calls. On Wed, Mar 31, 2021 at 3:56 PM Chris Thomas wrote:

[visualization-api] Issue with Ajax/JSON

2021-03-31 Thread Chris Thomas
I have a head scratcher. When I send this info into the chart all works fine. var data = *new* google.visualization.arrayToDataTable([[*'Quarter'*, *'Current Enrollment'*,*'SBHC Enrollment'*,*'Patients Seen'*],[*'Quarter 1'* ,1500,800,600],[*'Quarter 2'*,1450,840,700], [*'Quarter 3'*,1480,920