3๐
let num = [3, 2, 5, 3, 2, 5, 3, 45, 2, 3, 4, 2];
function myFunction(t){
console.log(num.map(elem => elem + parseInt(t.value)));
}
<input type="number" onkeyup="myFunction(this)">
This is what you need right ?
- Chartjs-Chart.js -> Displaying % on pie chart
- Chartjs-Emberjs binding properties within Ember object
Source:stackexchange.com