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

responsiveOptions is not reactive #48

Closed
matteoraf opened this issue May 13, 2020 · 1 comment
Closed

responsiveOptions is not reactive #48

matteoraf opened this issue May 13, 2020 · 1 comment

Comments

@matteoraf
Copy link
Contributor

I'm using vue-chartist to implement a chart to show different data sets.
By simply changing the data in series and options props, the chart gets updated correctly.
What doesn't change instead is the responsiveOptions prop.

Can it be made reactive to by adding it to the watch object?

responsiveOptions: { handler: 'redraw', deep: true },

@matteoraf
Copy link
Contributor Author

I realized that this is up to chartist.js, that's why I created my fork to add this feature and submitted a PR to them.
Please feel free to check it out https://github.com/gionkunz/chartist-js/pull/1243

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

1 participant