superset icon indicating copy to clipboard operation
superset copied to clipboard

Tree chart: Add option to sort nodes by ID or NAME column

Open goto-loop opened this issue 2 years ago • 1 comments

Description

The nodes of the Tree Chart visualization are currently arranged based on an unknown principle and it's not possible to customize their order.

Screenshots

Screenshot_20220909_080916 Screenshot_20220909_080220

Screenshot_20220909_080802 Screenshot_20220909_080830

Design input

It would be great to have an option to sort the nodes either by the ID or the NAME column. There are several use cases where the order of the nodes does matter, for example you would want to see:

  • Location A
  • Location B
  • Location C

... instead of:

  • Location C
  • Location A
  • Location B

Similarly you would want to have:

  • Humidity (sensor 1)
  • Humidity (sensor 2)
  • Temperature (sensor 1)
  • Temperature (sensor 2)

... instead of:

  • Humidity (sensor 2)
  • Temperature (sensor 1)
  • Humidity (sensor 1)
  • Temperature (sensor 2)

goto-loop avatar Sep 09 '22 06:09 goto-loop

don't think echarts provide this option.

mayurnewase avatar Sep 17 '22 09:09 mayurnewase

this should be a feature request in discussion.

mayurnewase avatar Oct 14 '22 02:10 mayurnewase