laravel-chartjs icon indicating copy to clipboard operation
laravel-chartjs copied to clipboard

Possible to change the default view used

Open grafxflow opened this issue 8 years ago • 2 comments

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

grafxflow avatar Jul 07 '17 17:07 grafxflow

I believe it is possible yes. I'll go analysis it, and if it's possible, I worked on it :dancer:

fxcosta avatar Jul 08 '17 05:07 fxcosta

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.

peterjthomson avatar Dec 28 '23 01:12 peterjthomson