0

negative axis step

Gsword 1 year ago in New features 0

I have been looking for a way to invert an axis (smallest value in the top, largest in the bottom).


Example:

LinearAxis la = new LinearAxis()
                {
                    AbsoluteMaximum = 10,
                    AbsoluteMinimum = 1, MinimumMajorStep = -1, IntervalLength = -1, MajorStep = -1
                };


Oxyplot fails if max < min or step is less than 0 (exception).


It would be nice if this was possible