Chartjs-Chart.js throwing an error when funciton used to populate data

1👍

You are calling a function inside the data so add the missing parenthesis

<Chart type="line" data={this.getData()}/>

Leave a comment