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

Make axisClass optional #22

Closed
filipiz opened this issue Nov 1, 2017 · 0 comments
Closed

Make axisClass optional #22

filipiz opened this issue Nov 1, 2017 · 0 comments

Comments

@filipiz
Copy link

filipiz commented Nov 1, 2017

If you dont specify a axisX.axisClass and/or axisY.axisClass on the plugin option it will break with error

Uncaught TypeError: Cannot read property 'trim' of undefined
    at constr.addClass (chartist.js:2267)

Might be useful to settup a standard class name (maybe ct-axis-title) so user dont need to declare it if they are not styling the titles.

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