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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Value Converter On DateTime Axis In SfChart

Thread ID:

Created:

Updated:

Platform:

Replies:

130779 Jun 1,2017 11:49 PM UTC Jun 2,2017 11:55 AM UTC Xamarin.Forms 1
loading
Tags: SfChart
Niall Rayner
Asked On June 1, 2017 11:49 PM UTC

Hi,
Is it possible to use a value converter on a datetime axis on the SfChart? I have a series with XBindingPath bound to a DateTime propery and need to use a value converter to adjust the time to local. I can't see an obvious way to do this in xaml.

Regards
Niall

Saravana Pandian Murugan [Syncfusion]
Replied On June 2, 2017 11:55 AM UTC

Hi Niall,

Thanks for contacting Syncfusion support.

You can achieve your requirement by using LabelCreated event of ChartAxis. We have attached sample for your reference which can be downloaded from the below location.

Sample: http://www.syncfusion.com/downloads/support/forum/130779/ze/DateTime_LabelCreated215676393

Please check the sample let us know if you need further assistance on this.

Additionally, we suggest you to refer the below user guide link to know more details about LabelCreated event.

UG Link: https://help.syncfusion.com/xamarin/sfchart/axis#event

Regards,
Saravana Pandian M.


CONFIRMATION

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.

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

;