Possible bug with mouse event on WPF chart [RESOLVED]

Jun 13, 2013 at 10:06 AM
Edited Jun 13, 2013 at 10:06 AM
Hello everyone,

I am creating an application with Oxyplot, which is great, but i recently faced with a problem : when i have my chart empty of rectangle annotation the mouse event doesn't trigger at all (i can't zoom or pan even with the middle button, except from the axes mouse over event). I resolved it by adding a white rectangle annotation, but it seems a bit ugly...

I may have done something bad, but i hope there is better fix to this problem.

Have a nice day...
Jul 4, 2013 at 1:17 PM
I found the problem, the backround was set to null, so the chart didn't handle the mouse events anymore...
<oxy:Plot Margin="0,0,4,0" Name="chart" Background="{x:Null}"/>