We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to plot date-time values in vertical axes?

To plot date-time values in y-axis, convert the date-time values to double while populating the items source for chart, and reverse the conversion (double to date-time) in the LabelCreated event of ChartAxis. By using the NumericalAxis with above conversions, you can display the date-time values in y-axis.

Code snippets

C#

 

XAML

 

C#

 

Sample application

http://www.syncfusion.com/downloads/support/directtrac/general/ze/DateTimeAxisSample2028789346-1995191234.zip

Output:

Article ID: Published Date: Last Revised Date: Platform: Control:
8732 05/08/2018 10/26/2018 Xamarin.Forms SfChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon