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.

Set the area of Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

101657 Nov 10,2011 04:15 PM Nov 11,2011 01:39 AM WPF 1
loading
Tags: Chart
James
Asked On November 10, 2011 04:15 PM

Hello,

I was trying to get an Essential Chart to have a certain size (height and width).

To be more specific, I want to specify the dimensions of the area between the axes (not including labels and legends that are docked to the side of the chart)

Does anyone know how this can be done?


Michael Prabhu M [Syncfusion]
Replied On November 11, 2011 01:39 AM

Hi James,

Thanks for using Syncfusion products, we have analyzed your requirement and we would like to inform you that specific height and width can be given to chart area but not without including axis labels as it is important to show data. To achieve your requirement excluding legend you can specify height and width for ChartArea and set the legend in Chart itself as in below code snippet.

Code Snippet[Xaml]:





...................................
...................................



Based on your requirement we have created a simple sample which you can download from the attachment.

Please let us know if you have any concerns.

Thanks,
Michael Prabhu.



AreaDimensions_fa40fde5.zip

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.

;