Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar chart with labels has mouse offset when panning #3191

Closed
yoni-salt opened this issue Jun 6, 2022 · 0 comments
Closed

Bar chart with labels has mouse offset when panning #3191

yoni-salt opened this issue Jun 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@yoni-salt
Copy link

Description

When using Bar chart with timeseries with labels the mouse click has an offset from the panning area.

Steps to Reproduce - very easy

  1. open you example codepen for timeline series with labels:
    https://codepen.io/apexcharts/pen/eVvjZx

  2. change the chart type from "area" to "bar"

  3. try panning with your mouse, you will notice there is an offset from when the mouse was clicked to the panning area that get marked

Expected Behavior

The panning area will start from the x-axis of the mouse

Actual Behavior

it has an offset of 50px~

Screenshots

Screen Shot 2022-06-06 at 18 52 52

Reproduction Link

follow the steps above:
https://codepen.io/apexcharts/pen/eVvjZx

@yoni-salt yoni-salt added the bug Something isn't working label Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant