
Change labels of LinearAxis
This discussion was imported from CodePlex
Nirraven wrote at 2013-10-02 11:58:
Hello,
I'd like to display DateTime/double values in a non-DateTime x-axis manner.
The x-axis' labels are still to be DateTimes, but with a regular distance instead of being converted to doubles.
Maybe it's more clear with this (Excel chart) pic showing the upper chart as DateTime x-axis, the lower chart as I'd like to have it displayed:
http://s8.postimg.org/fm7gx3c39/Date_Text_Axis.png
Can I achieve this with oxyplot without altering any code?
Thanks in advance!
Nirraven
I'd like to display DateTime/double values in a non-DateTime x-axis manner.
The x-axis' labels are still to be DateTimes, but with a regular distance instead of being converted to doubles.
Maybe it's more clear with this (Excel chart) pic showing the upper chart as DateTime x-axis, the lower chart as I'd like to have it displayed:
http://s8.postimg.org/fm7gx3c39/Date_Text_Axis.png
Can I achieve this with oxyplot without altering any code?
Thanks in advance!
Nirraven
objo wrote at 2013-10-02 12:25:
Can
CategoryAxis
be used?Nirraven wrote at 2013-10-02 13:58:
Requires a little more coding to prepare the data, but works perfectly.
Thanks a lot and keep up the great work!
Thanks a lot and keep up the great work!
Customer support service by UserEcho