Possible to change the default view used
grafxflow opened this issue · comments
grafxflow commented
Is it possible to change the default view with an attribute to the function?
view/chart-template.blade.php
To
resources/views/custom-chart-template.blade.php
Felix Costa commented
I believe it is possible yes. I'll go analysis it, and if it's possible, I worked on it 💃
Peter Thomson commented
Hi @grafxflow, we've added the ability to customise the default view here: https://github.com/icehouse-ventures/laravel-chartjs/releases/tag/v1.0.3 But it's still probably better to use a blade component in your own app and use that to wrap the chart in any necessary formatting.