Wanted to revese the rendering of Highcharts Sankey Diagram from left-to-right
to right-to-left
. according to Highcharts forum, it was suggested to switch the keys value from:
series: [{
keys: ['from', 'to', 'weight'],
data: ...
}]
to:
series: [{
keys: ['to', 'from', 'weight'],
data: ...
}]
Output:
Code:
Left-to-right diagram (rendering Fine!): LINK
right-to-left diagram (Not rendering properly): LINK
Referring the abv. image, once the keys
are switched the diagram is not rendering properly. Ideally, wanted to render diagrams in both left-to-right
and right-to-left
directions.