Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
DataChart Legend with mutilple row when Orientation is horizontal
posted

Can some one point me to a example(s) of setting up a legend to allow multiple rows when the orientation is set to Horiontal. By default if there a more items in the legend than will fit in the width of the legend you get a scroll bar by default.

I would like to have the item that do not fit in the width wrap to additional rows.

 

Thanks

Rob

 

Parents
  • 17475
    Offline posted

    Hello Rob, 

    Thank you for posting! 

    After researching this I could suggest you to change the content of the Legend’s ContentPresenter to WrapPanel using the default style provided in the Infragistics folder under the DataChart folder. I believe that in this forum post similar issue was discussed and Stefan’s modified sample could be useful for you: http://ko.infragistics.com/community/forums/t/64083.aspx

    Please feel free to let me know if you have any questions.

Reply Children