Set the area of Chart

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?


1 Reply

MP Michael Prabhu M Syncfusion Team November 11, 2011 06:39 AM UTC

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

Loader.
Up arrow icon