Chartjs-Yii2 unable to view chart

0👍

In first code example you must echo your widget

echo ChartJs::widget([...]);

or

<?= ChartJs::widget([...]); ?>

For the second code you must first add Chart assets (widget add it itself)

Leave a comment