qMRMLPlotView embedded in UI


I would like to have a plot displayed on a module user interface rather than within the main layout. The code examples add a vtkMRMLPlotChartNode and then switch to a layout that contains a plot view.

I have tried creating a UI with qMRMLPlotWidget but cannot connect to it.

Any help greatly appreciated.

Many thanks


A post was split to a new topic: Show ECG curve plot