Issue 1724 in google-visualization-api-issues: Bug: Sankey Node Custom Color does not work

0 views
Skip to first unread message

google-visualiz...@googlecode.com

unread,
Sep 5, 2014, 1:11:02 AM9/5/14
to google-visualiz...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1724 by combustioncat: Bug: Sankey Node Custom Color does not work
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1724

What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. Create Sankey chart
2. Specify custom node color
3. Nodes are always blue no matter what you specify.

From the example given;
var options = {
width: 600,
sankey: {
link: { color: { fill: '#d799ae' } },
node: { color: { fill: '#a61d4c' },
label: { color: '#871b47' } },
}
};

But notice that even the example for this;
https://developers.google.com/chart/interactive/docs/gallery/sankey#Colors
- The node colour is not #a61d4c as specified (Dark Red) but is instead
always blue.

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
Sankey


Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)
Yes.

What operating system and browser are you using?

Win 7, Chrome

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************


Attachments:
Capture.PNG 62.8 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google-visualiz...@googlecode.com

unread,
Mar 28, 2015, 5:08:41 PM3/28/15
to google-visualiz...@googlegroups.com

Comment #1 on issue 1724 by robert.w...@googlemail.com: Bug: Sankey Node
Any updates on this?

google-visualiz...@googlecode.com

unread,
May 1, 2015, 10:44:47 AM5/1/15
to google-visualiz...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 1724 by gra...@google.com: Bug: Sankey Node Custom
This has been fixed with release 42. You can specify a palette for the
nodes to use via the sankey.node.colors option, and you can use the
colorMode: 'category' option to make them all the same color.
Reply all
Reply to author
Forward
0 new messages