Hi Roisin,
a container becomes a <div> element in the dom, but what you want is a <canvas> element.
So you can use the html widget with tag canvas on your screen, or you can add the canvas element with javascript inside your container.
see attached oml for both options
Dorine