x-axis in descending order

Aug 13, 2013 at 2:39 PM
Hi,

I'm using oxyplot for some scientific stuff with C# and WPF. I'm looking for a way to sort the x-axis in descending order (ex. 720 to 400).

I tried a lot of things and did a research on the web - but didn't find any way to solve this. Could you please help me?

Thanks
Nico
Aug 13, 2013 at 6:05 PM
Did you took a look to the examples? See "Reversed" in Axis Examples.

You need to set the StartPosition and EndPosition of your axis to 1 and 0 respectively. Then if you want you can set the Minimum/Maximum. Good luck
Aug 14, 2013 at 8:35 AM
Thanks! I had a look at the example explorer but I wondered how to see the code behind - now I know.