-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Properties missing from type for TooltipComponentFormatterCallbackParams #15397
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
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.waiting-for: community
Description
Version
5.0.2
Steps to reproduce
When implementing options from EChartsOption and defining options.tooltip.formatter (callback), the callback params type doesn't include axisValueLabel, even though you can see it if you console.log.
What is expected?
TooltipComponentFormatterCallbackParams should include properties from TooltipCallbackDataParams
echarts/src/component/tooltip/TooltipView.ts
Line 131 in 72c62ce
| type TooltipCallbackDataParams = CallbackDataParams & { |
What is actually happening?
Types are missing
Thanks!
Reactions are currently unavailable
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.waiting-for: community