MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / addPowerGraph

Function addPowerGraph

public/src/js/military.js:139–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138//graph functions
139function addPowerGraph() {
140 nuclearChart = new Chart(
141 document.getElementById('powergraph'),
142 configLine("Main Power Source (MWT)", 2000, 1700, false)
143 );
144 Chart.defaults.font.family = "'Barlow'";
145}
146
147function removePowerGraph() {
148 nuclearChart.destroy();

Callers 2

military.jsFile · 0.85
cancelButtonFunFunction · 0.85

Calls 1

configLineFunction · 0.70

Tested by

no test coverage detected