MCPcopy
hub / github.com/MrNothing/AI-Blocks / updateChart

Method updateChart

Sources/src/Model/UI/Modules/Chart.js:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 updateChart()
72 {
73 let newData = this.drawLines();
74 this.state.chart.data.labels = newData.labels;
75 this.state.chart.data.datasets[0].data = newData.datasets[0].data;
76 this.state.chart.update();
77 }
78
79 pushData(target, name, value, color)
80 {

Callers

nothing calls this directly

Calls 2

drawLinesMethod · 0.95
updateMethod · 0.80

Tested by

no test coverage detected