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
105
Floating Legend
posted

Quick question... Is there an easy way to let users reposition(drag) a chart legend at runtime so as to unveil any obscured data?

Parents
No Data
Reply
  • 30692
    Suggested Answer
    Offline posted

    There is no built in way to do this, but if you put both the xamDataChart and the Legend in a Canvas, you could listen to the mouse down and mouse move events on the legend, and adjust its x-y offset in the canvas as the user dragged the legend around.

Children