I've managed to get things working.
In the real code, I was emitting an event from the stimulus controller after creating the chart but before drawing it. the resulting actions (adding indicators etc) were interfering with the rendering