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 <[email protected] > <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 [email protected] >> <javascript:>. >> To post to this group, send email to [email protected] >> <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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
