jQuery UI Widgets Forums Chart How to format legend spacing

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • How to format legend spacing #54118

    alisofts
    Participant

    Hi, the pie chart in my application has quite a few legend items which flows vertically in which case some of the longer legends overlap the next column. Is there any way to add some padding between the legend columns to avoid this.

    Any help is much appreciated.

    pio chart legend

    here’s the setting for chart.
    chartSettings = {
    title: ”,
    description: ”,
    showLegend: true,
    showBorderLine: true,
    legendLayout: { left: 250, top: 100, width:800, height: 200, flow: ‘vertical’ },
    showToolTips: true,
    padding: { left: 15, top: 15, right: 15, bottom: 15 },
    titlePadding: { left: 0, top: 0, right: 0, bottom: 10 },
    enableAnimations: true,
    colorScheme: ‘scheme01’,
    seriesGroups:
    [
    {
    type: ‘pie’,
    offsetX: 120,
    series: [
    {
    dataField: ‘percentage’,
    displayText: ‘category’,
    labelRadius: 50,
    initialAngle: 15,
    radius: 100,
    centerOffset: 0
    }
    ]
    }
    ]
    };

    How to format legend spacing #54307

    Dimitar
    Participant

    Hello alisofts,

    Thank you for your feedback. We will investigate the reported issue and if we confirm it will fix it as soon as possible.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.