https://github.com/oxyplot/oxyplot/blob/989df42a75cfc1ef5751afe3f9eb859bc9e62ded/Source/OxyPlot/Axes/DateTimeAxis.cs#L441 if (range >= 365.25) { this.actualIntervalType = DateTimeIntervalType.Years; } "range" is incorrect. Should have been "interval". Changing this fixes the strange behavior of DateTimeAxis majorsteps when zooming the axis.
oxyplot/Source/OxyPlot/Axes/DateTimeAxis.cs
Line 441 in 989df42
if (range >= 365.25)
{
this.actualIntervalType = DateTimeIntervalType.Years;
}
"range" is incorrect. Should have been "interval". Changing this fixes the strange behavior of DateTimeAxis majorsteps when zooming the axis.