Fix node positions in sankey graph

38 views
Skip to first unread message

Geethanjali Rao

unread,
Feb 25, 2019, 1:45:21 AM2/25/19
to Google Visualization API
Hi,

Is there a way where I can fix the positions for each node in sankey chart? Basically, I have some data points which looks something like

    ['a', 'b', 1],
    ['a', 'c', 1],
    ['b', 'e', 1],
    ['d', 'e', 1],

I want to fix node positions of  'a'  in first column. 'b', 'c' and 'd' in second column and 'e' in the last column. Google sankey now renders 'a' and 'd' in first column. 'b' in second and 'c' and 'e' in third. Can you help me to fix the positions of each node?

Daniel LaLiberte

unread,
Feb 25, 2019, 9:09:36 AM2/25/19
to Google Visualization API
The Sankey chart is not configurable to that extent, unfortunately, though it would be good if we could support the layout that you want.

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/702d0c3d-c4e5-4f8d-8f4d-a0b1c9e83a8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages