MCPcopy Create free account
hub / github.com/codemistic/Web-Development / addGlobalData

Function addGlobalData

chart/js/custom.js:236–246  ·  view source on GitHub ↗
(label, color, border, data)

Source from the content-addressed store, hash-verified

234*/
235
236function addGlobalData(label, color, border, data) {
237 background_color.push(color);
238 border_color.push(border);
239 x_axis.push(label);
240 updated_data_value.push(data);
241 scatter_plot_data.push({
242 x: parseInt(label),
243 y: data
244 });
245 console.log(scatter_plot_data);
246}
247
248function removeGlobalData() {
249 background_color.pop();

Callers 1

custom.jsFile · 0.85

Calls 1

logMethod · 0.45

Tested by

no test coverage detected