I\'ve created the following document:
<
For some reason, I had to go up 2x levels: console.log(">>"+my_chart.node().parentNode.parentNode.id+"<<")
console.log(">>"+my_chart.node().parentNode.parentNode.id+"<<")