Chartjs-Modifying values in a radar chart.js based on user input

1👍

Have you tried putting onChange event listeners to each input and then targeting the value of the input?

<input id='user-input' onchange='checkInput()' />

checkInput = () => {
    let input = document.getElementById('user-input').value;

    updateChart(input);
}

I feel like something along these lines will work. Look into the event listeners that monitor user input.

https://www.w3schools.com/jsref/event_onchange.asp

https://www.w3schools.com/jsref/event_oninput.asp

Leave a comment