Chart not honoring Dock Fill or Anchoring

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

    Posted 19 Sep 2009 Link to this post

    I have a UI that is fully resizable.  I just noticed that the charts don't automatically resize with the container parent.  Also, when I set dock fill or anchor to all sides and resize the container, the chart says the same.  Am I doing something wrong?

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

    Posted 22 Sep 2009 Link to this post

    Hey Brian,

    That's odd, the chart should automatically resize with the parent container if you have it docked to fill. Perhaps the issue is related to the container you've placed it in? What type of container is it in?

    - 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

    Thank you for your reply. 

    Currently the chart is within a group.  Do I need to place a panel on the group and then put the chart in the panel?

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

    Posted 23 Sep 2009 Link to this post

    Hello Robert,

    I was able to get the chart to honor docking by placing it on a separate panel within a table layout panel.

    Thanks,

    -Brian
Back to Top