hmm, yea. but i would need to figure out the y axis scale every time the graphicsView or main window is resised ?

I was trying with this kinda thing :-

Qt Code:
  1. rr=ui.graphicsView.mapToScene(ui.graphicsView.frameRect())
  2. left=rr.boundingRect().left()
  3. width=rr.boundingRect().width()
  4. ui.graphicsView.fitInView(left,0,width,300)
To copy to clipboard, switch view to plain text mode 

but theres something wrong with it. Every time it runs this bit of code the x axis shrinks a tiny bit i think it is either mapToScene(ui.graphicsView.frameRect()) is not exact enough or theres a rounding problem with the floating value.

I shall have a play with scaling, see what i can see.

cheers.