//Первый вариант
function initScriptedGauges(data) {
console.log(data);
new RadialGauge({
renderTo: 'another-gauge',
width: 800,
height: 800,
title: false,
value: 0
}).draw();
};
document.querySelector('#qw').textContent = data[3];
initScriptedGauges(data[3]);
//Второй
function initScriptedGauges() {
var data = document.querySelector('#qw').textContent;
new RadialGauge({
renderTo: 'another-gauge',
width: 800,
height: 800,
title: false,
value: 0
}).draw();
};
document.querySelector('#qw').textContent = data[3];
initScriptedGauges();