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
15
Movable chart legend
posted

I have a simple chart with Legend. its all good. However I am not able to find a property to make the Legend moveable.

The legend is shown on the Top Right corner of the chart, but need to make it move OR drag it around within the chart area.

How do I do that?

  • 29185
    posted

    Hello, 

    Thank you for contacting Infragistics. The simplest thing to do is use our XamDockManager. Its primary function is to display moveable panes and floating panes. You can dock the chart on the window/page and float the legend. You can also follow this topic to control whether the pane is allowed to go behind the parent window or not. 

    eg.

    https://www.infragistics.com/help/wpf/xamdockmanager-owned-panes

    Alternatively we created a custom options panel for our Samples Browser. The source for that is located here:
    C:\Users\Public\Documents\Infragistics\20xx.x\WPF\Samples\CLR4.0\Infragistics.Samples.Shared\Controls

    Let me know if you have any questions.