Chartjs-Chart.js canvas rendered by ng-repeat does not show charts

0👍

You should get rid of the quotes and the curly brackets and it should work.

<div ng-repeat="n in counter">
    <canvas
        class="chart chart-line"
        chart-options="chartOptions"
        chart-data="data[n]"
        chart-labels="labels[n]"
    />
</div>

Leave a comment