Link input field to chart object

Hello all,

is it possible to link the value from an input field to the chart object (chart dataset.)
see my attachment please.


The only way to do this would be to use the Chart.js API (chart.js is the charting library we use internally) and build the dataset dynamically with JavaScript. This can be quite involved and requires a good working knowledge of JS unfortunately.

Is it possible to gave me an example with the information i gave before ?