Such a border might result from your scales or some layout attributes - hard to know from a screenshot only.

But probably you want to do this:

Qt Code:
  1. plot->plotLayout()->setCanvasMargin( 0 );
To copy to clipboard, switch view to plain text mode 
Uwe