Skip to content

[Bug] 配置同一个画布内多个折线图时tooltip的order不生效 #18811

@Huangjiahui2233

Description

@Huangjiahui2233

Version

5.4.2

Link to Minimal Reproduction

https://codesandbox.io/s/apache-echarts-demo-forked-xppksq?file=/index.js

Steps to Reproduce

在tooltip选项中配置的order为seriesAsc或者seriesDesc均不生效

Current Behavior

image
image

当前的表现为无论order的配置是什么,显示的顺序都是图例的顺序

Expected Behavior

tooltip的顺序和order配置的顺序保持一致

Environment

- OS:macOS Monterey
- Browser: Chrome 114.0.5735.133(正式版本) (arm64)
- Framework: React

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions