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

DateTime or TimeSpan on Secondary Axis

Thread ID:





127350 Nov 9,2016 03:50 PM UTC Nov 10,2016 05:08 PM UTC Xamarin.Forms 1
Tags: SfChart
Jochen Zimmermann
Asked On November 9, 2016 03:50 PM UTC


is it possible in XF to have DateTime or TimeSpan values on the secondary axis?
I want to draw a chart which plots a specific time for each day, e.g. 09:00 for 01/01/2010, 08:30 for 02/01/2010, ...

Additionally, I need a Strip Line on the secondary axis to mark a time corridor, e.g. from 07:00 to 09:00.

Thanks in advance... 

Parthiban Sundaram [Syncfusion]
Replied On November 10, 2016 05:08 PM UTC

Hi Jochen,

Thanks for using Syncfusion products.

We were able to achieve your requirement by converting DateTime to double for SecondaryAxis value. Please download the sample from following location.

Sample: http://www.syncfusion.com/downloads/support/forum/127350/ze/Datetime958296070  

Please check and let us know if you require further assistance on this.

Parthiban S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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