jQWidgets Forums

jQuery UI Widgets Forums Chart Legend overlaps with chart area

This topic contains 1 reply, has 1 voice, and was last updated by  jmentey 8 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Legend overlaps with chart area #92908

    jmentey
    Participant

    Hi,

    For my application, I give the user to toggle between polar chart and line charts where legend is oriented vertical using legendLayout. The legend is outside plot area for polar chart but when I change it to line, the legends on the right overlap with the lines on the plot area. How can I fix this issue?

    My problem is something similar to this. If you see this fiddle, https://jsfiddle.net/Dimitar_jQWidgets/rcwt6g9j/ the legend shows correctly on the right side and is not overlapped by the chart area. Instead of using type:’pie’ in SeriesGroups, use type:’line’ and run the fiddle. You’ll see that the legend “Country” comes in the plot area. Is there a way to have the chart on the left and legend showing on the right away from plot area?

    Regards,
    Jeswanth.

    Legend overlaps with chart area #92920

    jmentey
    Participant

    Fixed the issue by adding the padding on the right.

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

You must be logged in to reply to this topic.