If you want to draw your chart by changing your data, you can do that.  You
don't need to call google.chart.load() again to do so.  Just separate out
the code that calls google.chart.load() so that it is called only once.


On Mon, Apr 11, 2016 at 5:48 PM, Sahra Dilmaghanyan <dsahr...@gmail.com>
wrote:

> Hi,
> I 'd like to call google chart more than once by changing the data from a
> dropdown list. I called Google Chart as a widget including AppAsset that
> call 'js/loader.js' in Yii2.I used the latest version of Google Chart But I
> got this error when I change the dropdown list item:
>
> Uncaught Error: google.charts.load() cannot be called more than once with
> version 44 or earlier.
>
> and loader.js is not reloading, as a result the chart area is empty.
> How can I fix this problem?
>
> Thanks,
> Sahra
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> 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/8be7fc60-c988-4622-9c46-8e6b0c96fdf3%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/8be7fc60-c988-4622-9c46-8e6b0c96fdf3%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>
dlalibe...@google.com <dlalibe...@google.com>   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 google-visualization-api+unsubscr...@googlegroups.com.
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/CAOtcSJP1a39Dv%3D8HoGaZrnVFUMU_zoTuWG511wMhQJ%3D016c%2Bfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to