I found a strange behaviour which I also can reproduce with your official examples:
I want to zoom by mouse wheel when cursor is over the axis, therefore I set in xaml:
Code: Select all
<lcusb:ViewXY.ZoomPanOptions>
<lcusb:ZoomPanOptions AxisWheelAction="Zoom"/>
</lcusb:ViewXY.ZoomPanOptions>
Code: Select all
<lcusb:AxisX.MajorDivTickStyle>
<lcusb:AxisTickStyle Color="Black"/>
</lcusb:AxisX.MajorDivTickStyle>
Interestingly when I set the color of the MajorDivTickStyle property in code behind like this, axis wheel zooming still works:
Code: Select all
AxisX.MajorDivTickStyle.Color = Colors.Black;