WordTree options

64 views
Skip to first unread message

Axel Soto

unread,
Jun 14, 2016, 2:05:42 PM6/14/16
to Google Visualization API
I have noticed that not all options seem to work for the wordtree.
For example, I have:

var options = {
          wordtree: {
            maxFontSize: 8,
            format: 'implicit',
            type: 'suffix',
            colors: ['red', 'black', 'green'],            
            word: 'foo'
          }
        };

and I tried to change maxFontSize and colors but none of these changes seem to have any effect (I am seeing orange and blue in the extremes instead).
I think that these options were working for me last week, but now I see that there was an update yesterday.Could this issue be related to any update?

Thanks,

Daniel LaLiberte

unread,
Jun 14, 2016, 3:32:03 PM6/14/16
to Google Visualization API
We planned to do an update yesterday, but it hasn't happened yet since I am finding more things to fix.  If you are using 'upcoming', you will be affected by the candidate release that was pushed out last week.

We haven't changed wordtree in a long time, but we have changed how options are processed, so perhaps there was a change that affected wordtree.  If you could try prior frozen versions back to '41' to see where it fails, that would help us narrow this down.  Thanks.


--
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/8262abef-1705-4d8c-bbe9-02256c7a3149%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Axel Soto

unread,
Jun 15, 2016, 12:59:54 PM6/15/16
to Google Visualization API
Thanks for the reply. 
Yes, I found out that I was setting the options in a wrong manner. What I had to do was:
var options = {
          wordtree: {
            format: 'implicit',
            type: 'suffix',
            word: 'foo'
          }
            maxFontSize: 8,
            colors: ['red', 'black', 'green']            
        };

Yet note that in the documentation, 'format' is sometimes a field of 'wordtree' object and sometimes it is not.

Thanks!



On Tuesday, June 14, 2016 at 8:32:03 PM UTC+1, Daniel LaLiberte wrote:
We planned to do an update yesterday, but it hasn't happened yet since I am finding more things to fix.  If you are using 'upcoming', you will be affected by the candidate release that was pushed out last week.

We haven't changed wordtree in a long time, but we have changed how options are processed, so perhaps there was a change that affected wordtree.  If you could try prior frozen versions back to '41' to see where it fails, that would help us narrow this down.  Thanks.
On Tue, Jun 14, 2016 at 2:05 PM, Axel Soto <axel...@gmail.com> wrote:
I have noticed that not all options seem to work for the wordtree.
For example, I have:

var options = {
          wordtree: {
            maxFontSize: 8,
            format: 'implicit',
            type: 'suffix',
            colors: ['red', 'black', 'green'],            
            word: 'foo'
          }
        };

and I tried to change maxFontSize and colors but none of these changes seem to have any effect (I am seeing orange and blue in the extremes instead).
I think that these options were working for me last week, but now I see that there was an update yesterday.Could this issue be related to any update?

Thanks,

--
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.



--
Reply all
Reply to author
Forward
0 new messages