Add This After draw(data)
----
window.addEventListener("resize",drawfunctionname, false);
----
drawfunctionname must be your draw function name be carefully :)
5 Nisan 2018 Perşembe 02:32:58 UTC+3 tarihinde Sean Larson yazdı:
>
> Hello,
>
> When working with only a single chart I was able to tie the 'onresize'
> event to the myChartName.draw() function.
>
> However, I am now using a dashboard and cannot seem to get the same
> functionality. Not clear on why the switch broke it.
>
> Any advice?
>
--
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/dc45faf9-e30a-478b-934b-d493fe54bbf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.