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.

Legend position and chart are width

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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 07:03 AM

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,

[VB]
Me.ChartWebControl1.LegendsPlacement = ChartPlacement.Outside

http://asp.syncfusion.com/demos/ui/chart/Chart%20Title%20and%20Legends/ChartLegendCustomization/CS/ChartLegendCustomization.aspx

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.

Regards,
Vijayabharathi




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.

;