The PieChart does things a little differently regarding the chartArea width
because it includes the legend in the width.

The main problem in your example is that you have set the container element
width which overrides whatever you might set in the options.  Your options
were also a bit mixed up.  Here is an example using the new
'chartArea.right' option to specify a small value to the right of the
chart, thus leaving a larger area for the chart and the legend.
https://jsfiddle.net/ak8wqt6f/3/

On Wed, Oct 12, 2016 at 2:25 AM, FARHAN INAMDAR <finamd...@gmail.com> wrote:

>
> Hi,
>
> I have been trying to wrap the legend labels for quite some time with no
> success. Could someone please help me with the same?
> Is there a property to manipulate the legend width that I can use?
>
> Please find the link to sample js fiddle: https://jsfiddle.net/ak8wqt6f/
>
> Regards,
> Farhan
>
> --
> 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-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to google-visualization-api@
> googlegroups.com.
> Visit this group at https://groups.google.com/
> group/google-visualization-api.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-visualization-api/1fe9bbd0-1936-404d-88fc-
> e36fc26f1665%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/1fe9bbd0-1936-404d-88fc-e36fc26f1665%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
dlalibe...@google.com <dlalibe...@google.com>   5CC, Cambridge MA

-- 
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-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPpKVMXoDXtr80c8PZEsLZttGqLsGwznVrZ_XHqd1ts3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to