Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Support collision area for two or more layers with overlapped layers (Area and Line chart) #11

Open
g1eng opened this issue Nov 29, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@g1eng
Copy link
Owner

g1eng commented Nov 29, 2021

Problem

Collision areas for a figure with two or more layers can overlap for each, and they cannot get in touch with hover action. In most common case, layers (plot, line, etc.) in a figure and their collision area are recognized as different one.
But now Bar Area or Line layer with bandScale takes their collision area up to their max value of Y, and any collision detection can be deactivated in the background of the collision area for them.

For reproduction, create any layer first, and add Line or Area layer without column but one-dimensional data.

Layers not overlapping each other, are not affected by this problem.

@g1eng g1eng added the bug Something isn't working label Nov 29, 2021
@g1eng
Copy link
Owner Author

g1eng commented Dec 3, 2021

fixed misreported issue. This bug is not for Bar layer, but for Area and Line layer and only reproducible for them.

@g1eng g1eng changed the title Support collision area for two or more layers with a Bar layer Support collision area for two or more layers with overlapped layers Dec 3, 2021
@g1eng g1eng changed the title Support collision area for two or more layers with overlapped layers Support collision area for two or more layers with overlapped layers (Area and Line chart) Dec 3, 2021
@g1eng g1eng added this to the v0.2.0 milestone Dec 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant