superset icon indicating copy to clipboard operation
superset copied to clipboard

In the line chart, the legend does not preserves the order of metrics

Open M1s4k1 opened this issue 3 years ago • 0 comments

How to reproduce the bug

  1. set the query metrics in the line chart
  2. as shown here
  3. view the Legend

Expected results

preserve query metrics order in Legend

Actual results

In alphabetical order. In a bar chart, the legend preserves the order, But in the line chart, the legend is reordered

Screenshots

WX20221118-151319

Environment

chrome 107.0.5304.110 superset 0.7.7

Additional context

M1s4k1 avatar Nov 18 '22 07:11 M1s4k1