First of all, there isn't any method (insofar as I am aware) that will make
the legend render as more than 1 row. Second, I created a PieChart with 18
entries and used your options, and the chart rendered correctly, though it
looked odd given the height and width parameters you use. Can you post
your code or a link to the page so I can see what else might be going on
here?
On Thursday, March 8, 2012 7:21:00 PM UTC-5, pnguyen17 wrote:
>
> I make a pie chart with 18 entries. I would like the legends displayed
> in two rows, so I set the options with the height of the chart to 520
> and the chart area 160 as below.
>
> {is3D:true,backgroundColor:'#FFFFFF',fontSize:13,chartArea: {width:
> 200,height:160},height:520,width:200,legend:'bottom',legendFontSize:
> 13,legendTextColor:'#000000',tooltipFontSize:10,tooltipHeight:
> 45,tooltipWidth:100}
>
> However, it gave me unexpected result that the legends displayed in
> only one row and take up all the space and the pie chart does not show
> up. What could I do to make it correct.
>
> Thanks,
> Phong
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/qdoMpFxMCFYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.