We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
y-axis
With the mode and intersect changes in v. 2.4.0, it's not clear what to replace y-axis with. (See #3400 for history on this.)
mode
intersect
See: https://jsbin.com/bevabi/4/edit?html,css,js,output
Hover above the bars on the (vertical) bar chart.
Note that with mode: 'index' and intersect: false set, the whole region highlights both sets of data.
mode: 'index'
intersect: false
Now hover to the right of the horizontal bars not on the bar themselves. Note that they do not get updated, unlike the vertical bar chart.
In the past, I just used x-axis and y-axis. With index replacing x-axis, what replaces y-axis now?
x-axis
index
The text was updated successfully, but these errors were encountered:
We should provide a similar mode but that works in the Y direction, perhaps 'index-y'. I tried the y mode but it didn't have good results.
'index-y'
y
As a work around, you could define your own mode by adding a handler to the Chart.Interaction.modes map. https://github.com/chartjs/Chart.js/blob/master/src/core/core.interaction.js
Chart.Interaction.modes
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
With the
mode
andintersect
changes in v. 2.4.0, it's not clear what to replacey-axis
with. (See #3400 for history on this.)Steps to Reproduce
See: https://jsbin.com/bevabi/4/edit?html,css,js,output
Hover above the bars on the (vertical) bar chart.
Note that with
![image](https://camo.githubusercontent.com/6f3a4fe45afc6cd2a6017e0adba38bf1506db16cebd87c2d63e7f3e2db596d16/687474703a2f2f672e7265636f726469742e636f2f657349786859495744702e676966)
mode: 'index'
andintersect: false
set, the whole region highlights both sets of data.Now hover to the right of the horizontal bars not on the bar themselves. Note that they do not get updated, unlike the vertical bar chart.
![image](https://camo.githubusercontent.com/ce28b26cacba64ae15ad8a9a5709a4d666463ad8224ca63bba728ef1bbff3f98/687474703a2f2f672e7265636f726469742e636f2f6d75574b684332306d4f2e676966)
Context
In the past, I just used
x-axis
andy-axis
. Withindex
replacingx-axis
, what replacesy-axis
now?Environment
The text was updated successfully, but these errors were encountered: