Skip to content

Properties missing from type for TooltipComponentFormatterCallbackParams #15397

@benwiley4000

Description

@benwiley4000

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

type TooltipCallbackDataParams = CallbackDataParams & {
(like axisValueLabel)

What is actually happening?

Types are missing


Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions