OxyPlot. How can I set the range of DateTimeAxis?

I am using OxyPlot to plot the amount of something over a period of time.

Possibilities for three different time frames that I use:

  • One day, from two days to 31 days, and from 1 year to 4 years.

  • Within one day, the graph should always show from 0 to 24 hours.

  • For two days to 31 days, I want to set, for example, the first day, for example, January 1st, and then the next tick on January 15th and the last ones on January 30th.

For a year to 4 years, I want to set, for example, 4 ticks from only 2011 2012 2013 2014.

Is it possible to somehow just set start and end time and interval and format string?

Can I set start time and end time?

+3


source to share





All Articles