0

negative axis step

Gsword 7 лет назад обновлен Peter 5 лет назад 1

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

I have the same problem for FTIR spectra were the usual display is decreasing wavenumbers from left to right.

model.Axes.ElementAt(0).Minimun = 12.400
model.Axes.ElementAt(0).Maximum = 3.800

Сервис поддержки клиентов работает на платформе UserEcho