Allow user to set axis min and max

May 2, 2012 at 5:09 PM

I want to allow the user of my program to manually set the min and max of each axis in a chart. In WPF Toolkit (thank you for enabling me to migrate my code away from that mess, by the way!), I implemented this behavior by popping up a limits-setting dialog when the user double-clicked the x or y axis - is there any way to do something similar in Oxyplot? I tried hooking into the MouseDown event of my LinearAxis objects, but that didn't work. I want to avoid having separate controls that aren't either part of or activated by user interaction with the chart. 

May 3, 2012 at 1:55 PM

The mouse events are not yet implemented for the axes, but will do it soon (should not be difficult, only implement the HitTest method).