Expanding RadChart to Fill Empty Space Programmatically

4 posts, 1 answers
  1. Corey
    Corey avatar
    26 posts
    Member since:
    Nov 2012

    Posted 12 Dec 2012 Link to this post

    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.
  2. Answer
    Missing user
    Missing user avatar

    Posted 17 Dec 2012 Link to this post

    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.

  3. DevCraft banner
  4. Corey
    Corey avatar
    26 posts
    Member since:
    Nov 2012

    Posted 17 Dec 2012 Link to this post

    I am indeed using a 3D chart.  Is there any plan in the future to allow changing the ratio?
  5. Missing user
    Missing user avatar

    Posted 19 Dec 2012 Link to this post

    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.

Back to Top