build data dynamic for data in dataset for chartjs in javascript
I would like to make the data been made dynamic according the variable 'AmountOfPoints' Now i'm working with a switch and make the data fixed (please see example below): __processPlot1() { if (this.__Plot1 !== null) { //Check how many points…