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

Advanced axes, multi dataset, and histogram capabilities failure #116

Open
aentwist opened this issue Mar 31, 2022 · 3 comments
Open

Advanced axes, multi dataset, and histogram capabilities failure #116

aentwist opened this issue Mar 31, 2022 · 3 comments
Labels
bug Something isn't working Vue 2 Vue 2 related

Comments

@aentwist
Copy link

aentwist commented Mar 31, 2022

Describe the bug

I need an advanced histogram, which I have created in Chart.js. When moving the exact same to vue-chart-3, it does not work. The reproduction uses two methods to showcase differences; Vue + vue-chart-3 and Vue + Chart.js, respectively.

To Reproduce

https://github.com/aentwist/vue-chart-3-histogram

Use yarn && yarn serve.

Version of vue-chart-3

^2.1.2

Version of Vue

Vue 2

@victorgarciaesgi
Copy link
Owner

Hi @aentwist Thanks for the reproductions it's very helpful, I will try to find the time to look at it

@victorgarciaesgi victorgarciaesgi added bug Something isn't working Vue 2 Vue 2 related labels Mar 31, 2022
@aentwist
Copy link
Author

aentwist commented Mar 31, 2022

By manually interacting with Chart.js and avoiding vue-chart-3, I was able to get things working. This can be considered a workaround.

@aentwist
Copy link
Author

Note also that since Chart.js fails to provide a histogram type, people bend things a bit to create histograms. This might not fall under intended use, in which case this issue could be closed. See chartjs/Chart.js#3900.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Vue 2 Vue 2 related
Projects
None yet
Development

No branches or pull requests

2 participants