Home forums Report Bugs Pie charts cut off legends when space is taller Reply To: Pie charts cut off legends when space is taller

#15616

Hannah
Member

Hi Bivek.

Your documentation says:

When set to “auto”, the chart automatically decides whether to place labels inside or outside based on the available space.

This does not work.

example: http://jsfiddle.net/dgct8r0n/1/

Looks like we’re going to have to add some custom code to ensure the render space is square, as inside does not work for small segments. Example: http://jsfiddle.net/qcncv0qn/3/

I urge you to consider this as a bug, and provide improved rendering of labels. I would suggest that when h > w or w > h that the labels are moved upwards or sideways so they can be accommodated properly.

Thanks

  • This reply was modified 4 months, 3 weeks ago by  Hannah.