Skip to content

[Question] Custom series type - tooltip axis doesn't align with the rect #20230

@songwillow

Description

@songwillow

What problem does this feature solve?

I'm trying to replicate the behavior where the tooltip gets trigger on the middle of the rect. I have set the x axis to time and tooltip to trigger on axis and set the axisPointer to x. Somehow the axis gets triggered on the start of the rect instead. I'm using the custom type example as the base. How can I achieve something similar?

Related #16948

Heatmap axis example, with the right behavior

Custom type axis is triggered on the start of the rect

What does the proposed API look like?

Axis is trigger on the middle of rect instead of the start

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions