Bug when using Text displayMode in Geochart

234 views
Skip to first unread message

Carlos Moreira

unread,
May 2, 2016, 11:13:21 AM5/2/16
to Google Visualization API
Seems there's a bug when using the text display mode. Tooltips and actions don't take effect.

Working markers example: https://jsfiddle.net/cmoreira/xuharyrb/

Same example, but with text mode: https://jsfiddle.net/cmoreira/mnrsn5ba/ (just changed displayMode:'markers' to 'text' )

Working example with text mode: 

Seems to work when using the old style to load the charts without the loader.js file:

     var options = {packages: ['geochart'], callback : drawRegionsMap};
     google.load('visualization', '1', options);


Am I doing something wrong?

Carlos Moreira

unread,
May 2, 2016, 11:19:14 AM5/2/16
to Google Visualization API
UPDATE

If I use the frozen 42 version, it works, so it's a problem with the current version

<script type="text/javascript">
  google.charts.load('42', {packages: ['geochart']});
  google.charts.setOnLoadCallback(drawChart);
</script>

Daniel LaLiberte

unread,
May 2, 2016, 11:30:05 AM5/2/16
to Google Visualization API
Thanks Carlos.  Changing to version 43 fails as well, so it was a change that happened in that transition.  I don't know what caused it yet, but using 42 until we find a fix seems to be a good workaround.

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@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/24c44ff6-b022-4180-a8df-c482bab6f257%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Carlos Moreira

unread,
Mar 15, 2017, 11:39:51 AM3/15/17
to Google Visualization API
Hi! 
A year as passed and the problem seems to still exist on version 45.
Maybe it will be fixed in the next release? :) 
Thank you!
Greeting, Carlos


On Monday, May 2, 2016 at 4:30:05 PM UTC+1, Daniel LaLiberte wrote:
Thanks Carlos.  Changing to version 43 fails as well, so it was a change that happened in that transition.  I don't know what caused it yet, but using 42 until we find a fix seems to be a good workaround.
On Mon, May 2, 2016 at 11:19 AM, Carlos Moreira <cmore...@gmail.com> wrote:
UPDATE

If I use the frozen 42 version, it works, so it's a problem with the current version

<script type="text/javascript">
  google.charts.load('42', {packages: ['geochart']});
  google.charts.setOnLoadCallback(drawChart);
</script>


On Monday, May 2, 2016 at 4:13:21 PM UTC+1, Carlos Moreira wrote:
Seems there's a bug when using the text display mode. Tooltips and actions don't take effect.

Working markers example: https://jsfiddle.net/cmoreira/xuharyrb/

Same example, but with text mode: https://jsfiddle.net/cmoreira/mnrsn5ba/ (just changed displayMode:'markers' to 'text' )

Working example with text mode: 

Seems to work when using the old style to load the charts without the loader.js file:

     var options = {packages: ['geochart'], callback : drawRegionsMap};
     google.load('visualization', '1', options);


Am I doing something wrong?

--
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+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.



--
Reply all
Reply to author
Forward
0 new messages