Mouse events on CategoryAxis

Oystein Bjorke 4 years ago 0
This discussion was imported from CodePlex

ckoo wrote at 2012-07-16 01:57:

Looking at the CategoryAxis it would be nice to be able to click on the Label to find out the label name and range (start and end points.)

It looks like the Axis class need to inherit from UIPlotElement instead of PlotElement? Is this correct and do you have any hints?


objo wrote at 2012-08-08 23:24:

Yes, the mouse events have not been implemented on the Axis classes yet. It should be covered by issue http://oxyplot.codeplex.com/workitem/9798 - so I have not closed this issue yet. There is some refactoring (due to issue http://oxyplot.codeplex.com/workitem/9595) to be done first, then it should be easier to do the axis hit testing.

CodePlex