Closed zihadt closed 7 years ago
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?
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
@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!
fixed ef72b11c4dcc68f0ce8a3fd0b04106a71933150c
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 } }] } }