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. Image for the cookie policy date
close icon

Value Converter On DateTime Axis In SfChart

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

1 Reply

SP Saravana Pandian Murugan Syncfusion Team 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.


Loader.
Live Chat Icon For mobile
Up arrow icon