Hi I am designing a Sankey Diagram but was wonderi...
# gooddata-cloud
c
Hi I am designing a Sankey Diagram but was wondering if there is anyway to customise the way the different bars take from the From node to the To node
k
New message text here
c
@kapa.ai is the automatic layout based off anything? such as alphabetical order
k
A message from kapa.ai
New message text here
m
Hello Chris, thank you for this. I would to confirm, that the automatic layout is sorted in alphabetical mode on the FROM attribute. We are checking internally, if there is a workaround for a custom sort.
Hello Chris, thank you for your time. After checking further I can say that at the moment, the Sankey visualization in GoodData does not support custom sorting of the FROM or TO attributes. The chart always orders nodes alphabetically based on the FROM attribute, and currently there’s no way to override that through filters, sorts, or measure values. A possible workaround—though not ideal—is to add a numeric prefix to your attribute values (e.g.,
0001 Customer_B
,
0002 Customer A
) so the desired order is achieved alphabetically. However, note that the prefix will also appear in the chart. Please, let us know if you need further assistance.
c
Thanks, I will have a chart with our Data guy and see what we can do