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

BUG: hover mode x doesn't apply animation #5691

Closed
pixelizedPeanut opened this issue Aug 15, 2018 · 0 comments
Closed

BUG: hover mode x doesn't apply animation #5691

pixelizedPeanut opened this issue Aug 15, 2018 · 0 comments

Comments

@pixelizedPeanut
Copy link

BUG
I have a basic line chart with point configurations:

pointRadius: 1,
pointHoverRadius: 6,

and hover configuration

hover: {
    intersect: false,
    mode: 'x'
},

Expected Behavior

I expect usual hover animations of 400ms to apply

Current Behavior

No animation and it looks bad

Steps to Reproduce (for bugs)

  1. add mode: 'x' to hover settings to a chart and it all turns bad

Context

I have time charts with scarce data and I need behaviour similar to a vertical cursor

Environment

Chart.js latest

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

No branches or pull requests

2 participants