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

legend vertically

Thread ID:





119496 Jun 30,2015 02:26 PM UTC Jul 1,2015 06:37 AM UTC Android 1
Tags: SfChart
Asked On June 30, 2015 02:26 PM UTC

hola !
how do I put a horizontal legend that has in PieSeries vertically am using Xamarin android put a sample image

Attachment: pie_44d3a568.rar

Yuvaraj Palanisamy [Syncfusion]
Replied On July 1, 2015 06:37 AM UTC

Hi Antonio,

Thanks for using Syncfusion products.

We can customize the legend position by using the following code snippet.


chart.Legend.Visibility = Visibility.Visible;

//Position the legend at any area on Chart

chart.Legend.DockPosition = ChartDock.Floating;

//Change the legend items orientation

chart.Legend.Orientation = Orientation.Vertical;

//Specify the x coordinate of legend

chart.Legend.OffsetX = 20;

//Specify the y coordinate of legend

chart.Legend.OffsetY = 120;

//To customize the radius of pie series

pieSeries.CircularCoefficient = 0.6F;

Please let us know if you need any other assistance on this.




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

This page will automatically be redirected to the 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