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

Help with labels barchart #468

Closed
mhbsmatheus opened this issue Jan 29, 2019 · 1 comment
Closed

Help with labels barchart #468

mhbsmatheus opened this issue Jan 29, 2019 · 1 comment

Comments

@mhbsmatheus
Copy link

mhbsmatheus commented Jan 29, 2019

Actual Behavior

grafico_barras

I have a bar chart like you guys can see, I'm having some problems to click/hover the values close to the x axis.

Each label has some value on it, but I can't hover or click on the ones with small values because is to close to the x axis.

Any Ideas to hover/click on these itens are welcome.

My tooltip function for the labels:
callbacks: { label: function (tooltipItem, data) { this.ind = tooltipItem.index; var label = 'Repassado: ' + currencyFormatter.format(tooltipItem.yLabel, { code: 'BRL' }); return label; } }

Environment

  • vue.js version: 2.5.2
  • vue-chart.js version: 3.3.2
  • npm version: 5.6.0
@apertureless
Copy link
Owner

Hey @mhbsmatheus

please check out the issues on Chart.js directly, or on StackOverflow.

Because your issue is not really related to vue-chartjs, more to the configuration of chart.js

This issue might help you: chartjs/Chart.js#2959

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

2 participants