Extra space to the right of plot area even though legend is closed

5 posts, 0 answers
  1. Brian Battersby
    Brian Battersby avatar
    11 posts
    Member since:
    Sep 2009

    Posted 19 Sep 2009 Link to this post

    Even though I have the legend closed, there is still extra space to the right of the plot area in charts.  Could you please tell me how I can make the plot area go all the way to the right edge?

    Thanks,

    Brian
  2. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 22 Sep 2009 Link to this post

    Hey Brian,

    If you set the AutoLayout property of the RadChart to true, it should automatically align the chart to the center.

    - Robert
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Brian Battersby
    Brian Battersby avatar
    11 posts
    Member since:
    Sep 2009

    Posted 22 Sep 2009 Link to this post

    Thanks for your reply.

    I actually don't want any extra space to  the right of the plot area.  I need the charts to go all the way to the right edge.  Is this possible?

    -Brian
  5. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 22 Sep 2009 Link to this post

    Hey Brian,

    After looking into it a little bit more, I actually found a better way to do this.

    In the properties window of RadChart, go to Plot Area -> Appearance -> Dimensions -> Margins. You should be able to easily set the margins values to achieve the effect you are looking for. If you set them all to 0%, the chart should fill the entire area.

    - Robert
  6. Brian Battersby
    Brian Battersby avatar
    11 posts
    Member since:
    Sep 2009

    Posted 23 Sep 2009 Link to this post

    Hello Robert,

    I tried making all the margins to 0 in Plot Area -> Appearance -> Dimensions -> Margins as you had suggested.  However, this does not resize the chart.  I tried turning off and on Plot Area -> Appearance -> Dimensions -> Autosize and no dice.  I also tried aligning the plot area to the right and it does not move.  I did get the chart to auto resize by placing it on a panel within a table layout panel.

    -Brian
Back to Top
UI for WinForms is Visual Studio 2017 Ready