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.
Unfortunately, activation email could not send to your email. Please try again.

DataMarker position cannot be changed in Windows Phone

Thread ID:

Created:

Updated:

Platform:

Replies:

117604 Nov 14,2014 07:47 AM Nov 17,2014 06:58 AM Xamarin.Forms 3
loading
Tags: SfChart
Steen Steiniche
Asked On November 14, 2014 07:47 AM

I cannot change the position of the ChartDataMarker in SfChart for a column series in Windows Phone. The following line has no effect, the marker remains at its default top position:

DataMarkerPosition = DataMarkerPosition.Center

Prabakaran R [Syncfusion]
Replied On November 14, 2014 08:16 AM

Hi Steen,

We are unable to reproduce the reported issue on Windows phone. Could you please provide us more details regarding the issue also kindly revert back to us with the modified sample if you still face the issue?

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

Regards,
Prabakaran

Attachment: Sample_47835050.zip

Steen Steiniche
Replied On November 17, 2014 03:44 AM

Hi Prabakaran

Thanks for your reply. Your sample worked for me and enabled me to find out what was wrong.

The error relates to the order in which properties are defined. This order does not set the marker position correctly:

ColumnSeries col = new ColumnSeries();
ChartDataMarker dataMarker = new ChartDataMarker();
col.DataMarkerPosition = DataMarkerPosition.Center;
col.DataMarker = dataMarker;

This order does set the marker position correctly:

ColumnSeries col = new ColumnSeries();
ChartDataMarker dataMarker = new ChartDataMarker();
col.DataMarker = dataMarker;
col.DataMarkerPosition = DataMarkerPosition.Center;

I suppose the order ought to be of no consequence, but for now awareness of the correct order suffices.

Thanks

Suresh B [Syncfusion]
Replied On November 17, 2014 06:58 AM

Hi Steen,

We are able to reproduce the reported issue ‘When we change the order of the DataMarkerPosition’ on WindowsPhone. We will fix this issue in our next service pack release which is expected to be rolled out in the end of this week. 

please let us know if you require further assistance on this.

Thanks,
Suresh B


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.

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.

;