Menu

mpFXYVector does not care about margins

Help
Domas M.
2009-04-27
2013-05-02
  • Domas M.

    Domas M. - 2009-04-27

    I set margins on the mpWindow, but an mpFXYVector plot still draws up to the border. The plot is set to continuous and from viewing the source I think I know where the problem is.

    Can anyone confirm this issue before I start my attempts to grasp and fix this?

     
    • cdron77

      cdron77 - 2009-04-28

      I take a quick look at the code and it seems ok. Did you use mpLayer::SetDrawOutsideMargins(false)? The default behaviour is to let the plot draw outside the margins. I know this is somewhat uncommon, but, since the margins were introduced lately in wxMathPlot development, I preferred to maintain the old default behaviour.

      http://wxmathplot.sourceforge.net/docs/a00010.html#fc08c8f852363550e5714959d71806a7

      If the problem persists, it is probably a bug.

      CD-RON77

       
      • Domas M.

        Domas M. - 2009-04-28

        Yes, I tried setting SetDrawOutsideMargins(false), but it did not help. I think I know where the problem is - will try to look into it later.

        Domas

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.