The chart I want to create in a Javascript file looks something like this:
var data = [ ['id', 'childLabel', 'parent', 'size', {role: 'style'}] ,
[0, 'cats', -1, 1, 'green'],
[1, 'are', 0, 2, 'green'],
[2, 'really', 1, 3, 'red'],
[3, 'awesome', 2, 1, 'red'] ];But the chart result doesn't take in account the 'size' option I decided(here's an example result).
According to the google chart page:
...
format: 'explicit'You tell the word tree what connects to what, how big to make each subphrase, and what colors to use. The word tree in the previous section was an implicit Word Tree: we just specified an array of phrases, and the word tree figured out how big to make each word.
In an explicit word tree, the chart creator directly provides information about which words link to which, their color, and size.
...In implicit word trees, the actual display size of each word is affected by two things: the size specified for the word, and the size specified for all the words below it (that is, to the right) in the tree. In the above word tree, Life has three children: Archaea (size 1), Eukarya (size 5), and Bacteria (size 1). Archaea is displayed at a larger size than its siblings because it has five children, all of size 1. If we add the 21 phyla of bacteria, the relative sizes will change...
Even if the tree is explicit, it's behaving like an implicit tree about the 'size'(even the first explicit tree example on the google page behaves like this).
What I want is to get rid of the automatic relative 'size' calculus and only keep the 'size' values I decide.