0

I am using the old static Google Chart API to generate a pie chart. The URL I am using is

https://chart.googleapis.com/chart?cht=p&chs=150x150&chd=t:1,2,3&chl=a|b|c

This URL contains the required parameter – chl – for labels, specified in the documentation (https://developers.google.com/chart/image/docs/gallery/pie_charts#pie_chart_label)

However, the image comes back with only lines pointing to the slices, not labels. Any help would be appreciated.

4

1 回答 1

0

问题已解决:chs参数中的宽度太小,标签无法显示。

于 2012-07-05T15:40:39.870 回答