dcasia / chartjs-widget

A ChartJs widget for laravel Nova Dashboard.
MIT License
8 stars 5 forks source link

LOG.error: Invalid number of arguments, expected: { int $x, int $y, int $width, int $height } or none. #4

Closed xoco70 closed 1 year ago

xoco70 commented 4 years ago

Hi,

I am able to render a chart using "editable()" mode by using branches dev-master in composer for both nova dashboard and nova chartjs-widget.

What I cannot achieve anymore is passing the $options variable into the widgets() method in my view.

When I try to pass a fifth argument with options, I get:

LOG.error: Invalid number of arguments, expected: { int $x, int $y, int $width, int $height } or none.

How should I pass static $option to my graph ?

milewski commented 1 year ago

No longer an issue on the latest version, I have rewritten everything...