Yeah, so I tried some code to do that, and ran into errors. (Basically, you watch the 'select' action, and change the options, and redraw, but there were some errors when trying to do this.)
So, yeah, I've filed some bugs about this internally, and right now, we have some work to do. :) On Tuesday, July 8, 2014 12:58:27 PM UTC-4, Lindsey Cook wrote: > > Thanks for responding! I need the id for the tooltips unfortunately. Is > there a way to track the level the user is at and then toggle the fontsize > based on that? Has anyone tried that? > > On Tuesday, July 8, 2014 10:31:28 AM UTC-4, Jeremy Faller wrote: >> >> Hmm. This is a good bug/feature request. >> >> So, I have a workaround, but it's kludgey. Basically, what you can do is >> set your datatable (at the rows where you don't want to display the label) >> as: ' ', ' ', ' ', for the titles. So: >> >> var data = google.visualization.arrayToDataTable([ >> ['Location', 'Parent', 'Market trade volume (size)', 'Market >> increase/decrease (color)'], >> ['Global', null, 0, >> 0], >> ['America', 'Global', 0, >> 0], >> ['Brazil', 'America', 11, >> 10], >> ['USA', 'America', 52, >> 31], >> ['Mexico', 'America', 24, >> 12], >> ['Canada', 'America', 16, >> -23], >> [' ', 'Canada', 160, -23] >> , >> [' ', 'Canada', 160, -23 >> ], >> [' ', 'Canada', 160, - >> 23], >> [' ', 'Canada', 1, - >> 23], >> [' ', 'Canada', 1, - >> 23], >> [' ', 'Canada', 1, >> -23], >> [' ', 'Canada', 1, >> -23], >> ]); >> >> And it will render blank spaces. >> >> I'll file a bug internally to investigate this issue. >> >> On Monday, July 7, 2014 5:32:38 PM UTC-4, Lindsey Cook wrote: >>> >>> From the root, my treemap has 3 layers of children. I would like the >>> text to show on the graph on everything except for the last layer. Is it >>> possible to have the ID not show for only one of the layers or to change >>> the color of the text to match the background for one of the layers or >>> some other way of not displaying the text? The bottom layer has a lot of >>> squares and each one only shows one letter, which looks terrible. >>> >>> Thanks for the help! >>> >> -- 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 http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
