Spotfire Google SanKey Chart Link colour possible?

Is it possible to colour the links in the sankey chart. I am happy to leave the nodes auto generated but I wanted the links to colour based on a data row value.

I have tried to add a role column

_sankeydata.addColumn({type:'string', role:'color'});

but when I pass in the value '#FF0000' in to the addRow call as the 4th value the chart draws ok but all the links are still grey.

 

Any ideas

(1) Answer

Login