forked from fxcosta/laravel-chartjs
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hej 👋,
I do not know if I am doing anything wrong.
I do setup the chart with size
options to 100%
like so.
return Chartjs::build()
->name("UserRegistrationsChart")
->size(["width" => '100%', "height" => '100%'])
->...
The goal is, that the chart is just fitting into it's container (that is of variable size in various browser sizes).
But the chart always renders as a box of 480px x 480px
:(
What am I doing wrong?
Or better: How to get the cart to just render to 100% x 100% ???
Metadata
Metadata
Assignees
Labels
No labels