I am using Google Visualization to create line charts for my application. I have the following requirements:
- Manipulation of events according to legends (for example, doubleClick, which I have somehow decided)
- Wrapping legends in two lines, avoiding pagination (most imp are required)
I got the following questions in order to get answers to my answers: 1) Pagination problem (Google Interactive chart API) Problem: I would avoid playing with font size, because the number of legends can increase over time
2) How can I cover the legends in Google charts Problem. I donβt want the legends to be anywhere else than in position: below. And maxLines solution does not work in position: bottom
3) Is there a way to avoid pagination in the legends of a Google visualization chart and show all rows in two rows on the same page? Problem. This is another link that mentions my problem, but there are no helpful answers to it.
4) Google Documentation: Title: Legend Chart Text and Style chdl, chdlp, chdls [All Graphics] https://developers.google.com/chart/image/docs/chart_params#axis-label-styles-chxs Title: Margin Setup https://developers.google.com/chart/image/docs/chart_params#chart-margins-chma-all----charts Title: Tips https://developers.google.com/chart/interactive/docs/customizing_tooltip_content # tooltips-an-introduction Comment: These are a few links to google documentation documentation that mention several legend manipulation properties, but they still don't solve my problem.
5) https://github.com/google/google-visualization-issues/issues/1286 Comment: This is a link in which I see that Google did not provide many properties for managing legends and does not contain a lot of useful information to solve my problem .
6) manipulation of legends in Google graphics Comment: This is the only link where I received a hint on how to solve my problem, that is, write my own legends. But there are no more links for documentation, no jsFiddle links or no links, except for one link that does not suit me.
Having gone through all this, I see that the only solution to solve my problem is to write my own legends. But I have no idea how to write a complete element adding to the Google API.
I ask you to advise that any suggestions / links / links / tips are welcome.
Thanks.
source share