DateTime Label Formatter over 2 lines

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

SteveReedSr wrote at 2014-07-07 05:29:

My client wants the date time formatted on the Labels to be formatted with the date above the time, like this:

07/06
10:00 am

I have been unable to determine how to a) get it broken onto 2 lines (I've tried putting \n in the format string without success), and b) how to get the am / pm designator.

I'm doing this using Xamarin for Android

Thanks in advance!

objo wrote at 2014-07-10 12:21:

I don't think multiline strings is supported, so this must be implemented on the DateTimeAxis.
I have added https://oxyplot.codeplex.com/workitem/10228