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

Bars overlap with Y-axis while zooming #24

Open
Alurith opened this issue Aug 7, 2019 · 3 comments
Open

Bars overlap with Y-axis while zooming #24

Alurith opened this issue Aug 7, 2019 · 3 comments

Comments

@Alurith
Copy link

Alurith commented Aug 7, 2019

I use your plugin in combination with "chartjs-plugin-zoom" and I have bizarre behavior. When I zoom the element's bars overlap the Y-axis and don't get truncated like the example below.

Here you can see the normal behavior without zoom:
Screenshot from 2019-08-07 12 44 35
Here you can see what happens when I zoom-in the chart:
Screenshot from 2019-08-07 12 45 26

As you can see "Order M" (and other elements) go over the Y-axis.

@viseth
Copy link

viseth commented Sep 20, 2020

Hi @Alurith
how did you get away with this issue. Do you have a jsfiddle ?

Regards,

@spallavi797
Copy link

I am also facing same issue. Did you get any solution for this?

@fanthos
Copy link
Owner

fanthos commented Nov 19, 2020

I think the issue is in rectangle._model property, seems that it not clipping by border.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants