-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
Version
5.4.2
Link to Minimal Reproduction
Steps to Reproduce
- Use visualMap.piecewise using dedicated dimension to apply color and label on a scatter.
- Define pieces for values of type strings with custom labels to assign a label "No info" to an empty string value :

Current Behavior
In the visualMap display, items seem to be ordered by value.

Expected Behavior
Items in the visualMap should be ordered by order of definition in pieces.
Environment
- OS: Windows 10
- Browser: Chrome 114
- Framework: ECharts examples official editorAny additional comments?
I can't find any workaround as using categories and inRange instead of pieces allows to choose the order but not to have custom labels. Let me know if there's a way to do that.
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.