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

horizontalBar not working #122

Open
baroninn opened this issue Mar 26, 2020 · 6 comments
Open

horizontalBar not working #122

baroninn opened this issue Mar 26, 2020 · 6 comments

Comments

@baroninn
Copy link

i beleve you have support for horizontalBar.
But I dont see anything when using horizontalBar.

any special variables or hooks I need to add to the code ?

@vbbalaji
Copy link

Me too. Same code works perfectly fine with regular bar chart.

@jcroucher
Copy link

jcroucher commented Aug 3, 2020

Check this fork. It has support for both Horizontal and Vertical bar charts.

https://github.com/jcroucher/chartjs-plugin-labels/blob/master/src/chartjs-plugin-labels.js

@leandropapasidero
Copy link

@jcroucher you code didn't work for me. All of the values disappear for bar, horizontal bar and doughnut.

@jcroucher
Copy link

Are there any errors? I copied the code out of a working project.
It should look like this

Screen Shot 2020-08-04 at 9 06 39 am
Screen Shot 2020-08-04 at 9 07 44 am
Screen Shot 2020-08-04 at 9 09 46 am

@leandropapasidero
Copy link

No errors. Can you create a codepen?

@jcroucher
Copy link

https://codepen.io/jcroucher/pen/WNwegMe

Note that for some reason including chartjs-plugin-labels as an external JS within CodePen doesn't work.
Inline it works, my actual live project uses it as an import within Vue.

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