Re: [visualization-api] Change Sankey link color based on a datarow value?

2015-08-05 Thread 'Sergey Grabkovsky' via Google Visualization API
It is possible, but there's not really any quick way to do this. You will have to listen for the 'select' event and open the link yourself via window.open or something. On Tue, Aug 4, 2015 at 5:45 PM Shravan Kumar shravan...@gmail.com wrote: Can I hyper link the Link between nodes in SAnkey?

Re: [visualization-api] Change Sankey link color based on a datarow value?

2015-08-05 Thread Shravan J Kumar
But the select event does not work for Sankey. There is a bug submitted for the same. Sent from my iPhone On Aug 5, 2015, at 06:33, 'Sergey Grabkovsky' via Google Visualization API google-visualization-api@googlegroups.com wrote: It is possible, but there's not really any quick way to do

Re: [visualization-api] Change Sankey link color based on a datarow value?

2015-08-04 Thread Shravan Kumar
Can I hyper link the Link between nodes in SAnkey? I would like to redirect the user to a different page if they click the link between nodes... Is that possible? Regards, Shravan On Fri, Jul 31, 2015 at 6:49 AM, 'Sergey Grabkovsky' via Google Visualization API

Re: [visualization-api] Change Sankey link color based on a datarow value?

2015-08-03 Thread Shravan Kumar
Thank you very much, this works for my visulaization!! On Friday, 31 July 2015 06:49:31 UTC-7, Sergey wrote: Hi Shravan, Your best bet is probably to use to the style role, and calculate the colors yourself. Here's a simple example: https://jsfiddle.net/samfazpz/ On Thu, Jul 30, 2015 at

Re: [visualization-api] Change Sankey link color based on a datarow value?

2015-07-31 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Shravan, Your best bet is probably to use to the style role, and calculate the colors yourself. Here's a simple example: https://jsfiddle.net/samfazpz/ On Thu, Jul 30, 2015 at 10:15 PM Shravan Kumar shravan...@gmail.com wrote: So I have a Sankey diagram, I want the links to be either

[visualization-api] Change Sankey link color based on a datarow value?

2015-07-30 Thread Shravan Kumar
So I have a Sankey diagram, I want the links to be either colored red or green or yellow. But I want the coloring to based on a dataRow value. Example: if DataRow status = Sever, then that link should be colored red if status = Not an Issue, then that link should be colored green else link