Got this error:
Cannot update settings value 'items[4].events' because such property does not exist.
Here's my code:
node.items.push(
{
text: " ", // + node.data.extra.hyperlinkURL,
aspectRatio: 0, //force single line
px: 1, py: .25, x: 10, y: y_offset,
events: {onclick: function(ev,n){ if (ev.clickItem){ alert('linked'); }}},
textStyle: { font: "10px FontAwesome"},
backgroundStyle: {
fillColor: "#09c",
lineColor: "transparent",
}
});