           function htmlDecode(input) {
                    var doc = new DOMParser().parseFromString(input, "text/html");
                    return doc.documentElement.textContent;
                    }

                    function renderGraph(graphData, id, delay, fullScreen) {
                    if (graphData == null) {
                    return;
                    }
                    const el = document.getElementById(id);
                    width = el.offsetWidth;
                    height = e