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 position and chart are width

Thread ID:





103047 Mar 27,2012 09:28 AM UTC Mar 28,2012 11:03 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Chart
Matthias Max
Asked On March 27, 2012 09:28 AM UTC


when I set the chart position to right it will be overlyed on the chart area. i have another chart (line) where the chart is made smaller when the legend is put on the right side. thats what i want.

what settings do i need to set?

I have:
.LegendPosition = ChartDock.Right
.PrimaryYAxis.RangeType = ChartAxisRangeType.Auto

Thank you

Vijayabharathi K [Syncfusion]
Replied On March 28, 2012 11:03 AM UTC

Hi Matthias,

Thanks for using Syncfusion product.

If your intention is to set legend in outside of chart area, we suggest you to use “LegendsPlacement” property of legend to avoid legend overlaid on chart area. Please refer the below code snippet to achieve this,

Me.ChartWebControl1.LegendsPlacement = ChartPlacement.Outside


Please let us know if we misunderstood your query please provide us some clear details or screenshots about this requirement, so that we could provide you a solution in optimal way.



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