0👍
You can’t add it, its not in the lib, if you update to the latest version of chart.js in V2 it is there and you can use it:
If using NPM
npm i chart.js@2.9.4
If using yarn
yarn add chart.js@2.9.4
- Chartjs-Trying to display different types of charts using select/option tag
- Chartjs-Ng2-charts / chart.js – How to set doughnut/pie chart color on specific labels programatically?
Source:stackexchange.com