Show ECG curve plot

You can read the ECG signals to a table node. See for example how it is done in the UltrasoundImage3D reader:

You can find some more plotting examples in the script repository and more explanations in the documentation (user guide, developer guide).

If you want to display a view outside the view layout (I would not recommend that, because it is probably better to choose or create an appropriate view layout instead) then you can follow this example:

There is also a simpler example in the script repository.

To display a marker on the signal, I would recommend to add a series that has a single point or vertical line segment and add that to the chart.