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

How tor write options with multi-level properly #45

Closed
zihadt opened this issue May 14, 2017 · 4 comments
Closed

How tor write options with multi-level properly #45

zihadt opened this issue May 14, 2017 · 4 comments

Comments

@zihadt
Copy link

zihadt commented May 14, 2017

I am trying to figure out how to write optionas parameters and values properly. For example how can I write this option for chartjs using the options provided by laravel-chartjs?

options: {
scales: {
yAxes: [{
ticks: {
beginAtZero:true
}
}]
}
}

@zihadt
Copy link
Author

zihadt commented May 14, 2017

ok I figured that out but having difficulties implementing callback function via php array syntax. any Idea how it can be done or this functionality not implemented yet?

@Damian89
Copy link
Contributor

Take a look at this method and check the view, its currently not documented ;)

https://github.com/fxcosta/laravel-chartjs/blob/master/src/Builder.php#L131

@fxcosta
Copy link
Owner

fxcosta commented May 24, 2017

@Damian89 I'll quote your message in the documentation. If you prefer, send a pull request with an overwrite to add the documentation. Thank you!

@fxcosta
Copy link
Owner

fxcosta commented May 24, 2017

fixed ef72b11

@fxcosta fxcosta closed this as completed May 24, 2017
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

3 participants