I am working with google charts for the first time and I would like to know 2 things:
I have tried an approach like this one but the parent column seems to be outside of scope.
For this one, I tried this way but id did not work either.
There is no way to solve the first issue but to process the tree from the root and descend recursively to its children.
The second one, make the table fit to the container, is solved with 3 lines of css:
table { max-width: 100%; table-layout: fixed; width: 100%; }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.