I need to set by myself the colors for each node .
I need to group nodes by colors, in order to show flow of information from
A to B To C , the nodes of A,B,C need to be all blue for example
The way it is handled right now is that I define an array:
var nodeColors = ['black','red','purple','orange','green'];
pass it to :
sankey: {
node: {
colors: nodeColors,
}
};
and colors are chosen with no regard to the data flow
Is there a way to define a color per node ? also per link ?
thank you
Omer.
--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/5e60d74c-e56d-4303-b099-e572565a5c01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.