jQWidgets Forums

jQuery UI Widgets Forums Chart Legend is hide when too much labels

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Martin 6 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Legend is hide when too much labels #102396

    lnans
    Participant

    Hello everyone,

    I’m working on jqxChart that have a lot of legends labels, and I have a problem on legend display.
    Exemple : JSFiddle

    The legend is cut and I can’t find a way for add a scrollbar or whatever.
    Is there a way to do something for see all the legend ?

    Legend is hide when too much labels #102410

    Martin
    Participant

    Hello Inans,

    You can use the legendLayout property for setting the legend’s position and size.
    I have updated your Example so all legend labels are visible.

    Best Regards,
    Martin

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

    Legend is hide when too much labels #102412

    lnans
    Participant

    Hello Martin,

    Thanks you for your reply and for your solution (it works, almost).

    In my case, my data are dynamics, and legend can have like 40-50 labels (i have updated the Exemple).
    My legend is on the left and when there is a lot of labels, they are superposed with the graph.

    I think I need a scrollbar but it seems that is not possible with jqxChart, any other ideas ?

    Best Regards,
    Nans

    Legend is hide when too much labels #102416

    Martin
    Participant

    Hello Inans,

    Yes, unfortunately a scrollbar is not possible.
    You can use the offsetX property of the seriesGroups to move the graph to the right.
    I’ve updated the Example.

    Best Regards,
    Martin

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

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

You must be logged in to reply to this topic.