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

legend vertically

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

1 Reply

YP Yuvaraj Palanisamy Syncfusion Team 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.


[C#]


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.


Thanks,

Yuvaraj


Loader.
Up arrow icon