Printing RadChart

3 posts, 0 answers
  1. Sean
    Sean avatar
    13 posts
    Member since:
    Feb 2009

    Posted 02 Mar 2012 Link to this post


    I am trying to print a screenshot of a WPF window that contains several instances of RadCharts. When we do this, the frames that the charts are in resize, but the charts to not alter the visual to fit the new dimensions. For an example of this, you can see this in the XPS document that I uploaded.

    Is there a way to make the RadChart look correct during printing? The container the chart resides in is just a user control with a border and a grid inside of it. The contents of the control always seem to work fine when there are other elements, just every time the RadChart never resizes. Any help with this issue is appreciated.
  2. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 07 Mar 2012 Link to this post

    Hello Sean,

    I am unable to reproduce the behavior you are describing in my test projects but have you tried forcing chart measure / arrange pass after you have changed the size of its container:
    chart.Measure(new System.Windows.Size(chart.Width, chart.Height));
    chart.Arrange(new System.Windows.Rect(new Point(0, 0), chart.DesiredSize));

  3. DevCraft R3 2016 release webinar banner
  4. Scott Brian
    Scott Brian avatar
    1 posts
    Member since:
    Sep 2009

    Posted 07 Mar 2012 Link to this post

    I resolved it with tech support.
Back to Top