This is a migrated thread and some comments may be shown as answers.
Expanding RadChart to Fill Empty Space Programmatically
3 Answers 19 Views
This is a migrated thread and some comments may be shown as answers.
Corey
Top achievements
Rank 2
Corey asked on 12 Dec 2012, 08:52 PM
Hi,

I'm working with a RadChart placed inside a grid with 3 rows and 3 columns.  I'm trying to have my RadChart cover the entire first row.  I have placed it in row 0, column 0, and set its column span = 3.  Note that I have removed the ChartLegend and Axis' labels because I only wish to view the charts and hopefully add tooltips later on.

However, as you can see in my picture, my RadChart is incredibly small, covering only 1/3 (the center) of the columns.  I've tried searching for some solutions, and read up on the AutoLayout feature of a RadChart.  Does this feature exist for Silverlight?  And if so, is there any way to access it in the code-behind (I don't use much XAML)?

Please help me figure out why my RadChart isn't automatically expanding to cover the entire row.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 17 Dec 2012, 12:04 PM
Hi Corey,

As far as I can see, you're using a 3D bar series for the RadChart. Unfortunately, the behavior you've observed is a limitation in 3D charts - a 3D chart has a fixed ratio for the height and width of the plot area and it cannot be overridden. We apologize for the inconvenience.

Regards,
Ivan N.
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Corey
Top achievements
Rank 2
answered on 17 Dec 2012, 05:50 PM
I am indeed using a 3D chart.  Is there any plan in the future to allow changing the ratio?
0
Missing User
answered on 19 Dec 2012, 12:00 PM
Hello Corey,

I'm afraid there are no plans to change this particular behavior of the RadChart.

All the best,
Ivan N.
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Corey
Top achievements
Rank 2
Answers by
Missing User
Corey
Top achievements
Rank 2
Share this question
or