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?

 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 google-visualization-api@googlegroups.com 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 10:15 PM Shravan Kumar shravan...@gmail.com
 wrote:

 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 should be yellow.

 How can I incorporate this in my visualization?

 Regards,
 Shravan

 --
 You received this message because you are subscribed to the Google
 Groups Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Visualization API group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-visualization-api/UIkJy2R3uLk/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-visualization-api+unsubscr...@googlegroups.com.


 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.

 --
 You received this message because you are subscribed to the Google Groups
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


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 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?
 
 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 google-visualization-api@googlegroups.com 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 10:15 PM Shravan Kumar shravan...@gmail.com 
 wrote:
 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 should be yellow.
 
 How can I incorporate this in my visualization?
 
 Regards,
 Shravan
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to 
 google-visualization-api@googlegroups.com.
 Visit this group at 
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.
 
 -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups Google Visualization API group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-visualization-api/UIkJy2R3uLk/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 google-visualization-api+unsubscr...@googlegroups.com.
 
 
 To post to this group, send email to 
 google-visualization-api@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to 
 google-visualization-api@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.
 
 -- 
 You received this message because you are subscribed to a topic in the Google 
 Groups Google Visualization API group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/google-visualization-api/UIkJy2R3uLk/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to 
 google-visualization-api@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


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 google-visualization-api@googlegroups.com 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 10:15 PM Shravan Kumar shravan...@gmail.com
 wrote:

 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 should be yellow.

 How can I incorporate this in my visualization?

 Regards,
 Shravan

 --
 You received this message because you are subscribed to the Google Groups
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Visualization API group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-visualization-api/UIkJy2R3uLk/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


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 10:15 PM Shravan Kumar shrav...@gmail.com 
 javascript: wrote:

 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 should be yellow.

 How can I incorporate this in my visualization?

 Regards,
 Shravan

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-visualization-api+unsubscr...@googlegroups.com 
 javascript:.
 To post to this group, send email to google-visua...@googlegroups.com 
 javascript:.
 Visit this group at 
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


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 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 should be yellow.

 How can I incorporate this in my visualization?

 Regards,
 Shravan

 --
 You received this message because you are subscribed to the Google Groups
 Google Visualization API group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


[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 should be yellow.

How can I incorporate this in my visualization?

Regards,
Shravan

-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.