Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Pie charts cut off legends when space is taller #15616

    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 3 years, 4 months ago by Hannah.
    in reply to: Pie charts cut off legends when space is taller #15594

    HI!

    We posted the html for it above, but here you go, also in a fiddle: http://jsfiddle.net/dgct8r0n/

    in reply to: Pie charts cut off legends when space is taller #15575

    sorry – not the legend on the bottom of the chart, but the data labels. You’ll see they do not display, but when you you make the chart wider they appear.

    This always seems to be an issue when height > width. Here is a side by side example, sama data set, but wide and tall

    Example width vs height

Viewing 3 posts - 1 through 3 (of 3 total)