netsage-project / netsage-sankey-panel

Apache License 2.0
9 stars 5 forks source link

ordering series and colours #10

Open SteveRBeeks opened 2 years ago

SteveRBeeks commented 2 years ago

The ordering of series in the sankey diagram seems to be arbitrary - how does that work? I tried to use a transform to order rows but it breaks the diagram. My objective is to be able to have consistent colouring of series if I have multiple diagrams with the same structure and different stats. Either by ordering somehow or by allowing some override.

KatrinaTurner commented 1 year ago

Hi! Sorry for the super late reply, I haven't been getting notifications for these for some reason. The ordering is taken from the order returned by the Grafana query. Right now it only supports the random colors or a single color. I can open a ticket for this, but it may take a little while to get to.