hski-github / spotfire-sankey-diagram

Spotfire mods visualization for Sankey diagram
MIT License
4 stars 4 forks source link

Customer defined Sort Order #21

Open f1li opened 3 years ago

f1li commented 3 years ago

Hi Holger,

first of all I am very happy this mods was added to the officla TIBCO repo. Very handy not to integrate it into the design and to deploy (no trusting issue any longer). I have an issue now that I cannot resolve. I have 6 statuses (6 departure/6 arrival). 1 categorical variables for departure status, 1 categorical variables for arrival status, They are STRING. I have custom sorted both of them. But Sankey still shows status in the alphatbetical order. Is there any way to change this (default) sorting?

Thanks a lot sir.

hski-github commented 3 years ago

Thanks for the comment. Currently this is a missing feature in the Spotfire mods resp REST API. See and vote here https://ideas.tibco.com/ideas/TS-I-8062.

There is no way to retrieve custom sort order https://docs.tibco.com/pub/spotfire/7.0.1/doc/html/data/data_details_on_custom_sort_order.htm if defined by the user at the moment from the mods.

hski-github commented 2 years ago

Sankey should reflect custom sort order of values rather than alphabetical order. See here issue with high, medium, low which has a custom sort order, but is ordered differently in the Sankey, which is confusing.

image