On Wednesday, 10 April 2019 15:19:28 UTC+5:30, Himanshu Tongya wrote:
>
> We are creating line charts from dashboard using control wrapper as
> ChartRangeFilter.
> we are getting below error in few ranges on all charts because there is no
> data for that range.
>
> Cannot read property 'getTime' of null
>
> how to resolve this issue?
>
I had this problem as well.
Change this line
google.charts.load('current', {packages: ['corechart']});
To
google.charts.load('45', {packages: ['corechart']});
The first argument to google.charts.load is the version name or number, as
a string. If you specify 'current', this causes the latest official release
of Google Charts to be loaded. If you want to try the candidate for the
next release, use 'upcoming' instead. In general there will be very little
difference between the two, and they'll be completely identical except when
a new release is underway.
This issue is resolved in version 45.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/df88431f-ac2f-4431-997d-5b87e9364397%40googlegroups.com.