0👍
The trendline plugin requires chart.js version 2, react chart.js uses version 3 so you will need to downgrade react-chartjs
Commands:
yarn remove react-chartjs-2
yarn add react-chartjs-2@2.11.2
- Chartjs-Thingsboard – Custom timeseries widget injected with Chart.js library
- Chartjs-PrimeFaces pie chart width always 100%
Source:stackexchange.com