Pie Chart legend on 2 rows

809 views
Skip to first unread message

Daniela

unread,
Jul 22, 2019, 9:28:56 AM7/22/19
to Google Visualization API
I am using a Pie chart I would like to put the legend below the chart in 2 rows and 2 columns.

Currently I can only get it in 1 row and a paging appears for the other values.

Is there a way to get it in 2 rows below the chart?

Daniela

unread,
Jul 23, 2019, 2:36:14 AM7/23/19
to Google Visualization API
Guys, I really need an answer to this question.

Here I see some people suggest to move the elements through JS:


Is this the only way to do it? Is it ok with Google Chart license to move elements in this way?

Daniel LaLiberte

unread,
Jul 23, 2019, 11:23:47 AM7/23/19
to Google Visualization API
Yes, you are allowed to do such things, though it tends to not be a very reliable kind of thing to do, as I mentioned in the other thread about this.

However, since the PieChart is one of the earliest charts implemented in Google Charts, this code is chock full of misfeatures and workarounds, such that when we do get around to reimplementing it, the result will be different enough that we will probably provide a new chart type rather than break many of the current usage patterns.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/5b6211bc-1bb5-4c54-a05e-f04b97385a7c%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages