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
35
How can I capture the user's interaction with y-axis labels (mouse enter, mouse click, etc.)?
posted

I want to allow the user to interact with the y-axis labels. For example, they might be able to right-click an axis label to get a context menu for a particular axis. Ultimately, I want to try to implement functionality that allows the user to click and drag a y axis up or down to effectively change the range of the axis.

I've tried to wire up mouse events to the NumericYAxis but that doesn't seem to work. 

Any thoughts on how I can hook up event handlers for when the user interacts with the y-axis labels?

Thanks!

Parents
No Data
Reply
  • 30692
    Suggested Answer
    Offline posted

    You can retemplate the labels by setting the Label property on the axis. This should enable you to hook up events to the controls used for the labels. That help?

    -Graham

Children