从 Data Studio Custom Visualization 中移除黑色块

Removing the black block from the Data Studio Custom Visualisation

我正在为工作中的项目构建自定义瀑布图可视化效果 - 但确实在与文档作斗争。

我已经设法在 Data Studio 中获得一个 CanvasJS 图形来呈现 - 但它也有一些奇怪的黑色方块 - 我无法摆脱它。

如何删除它?

[![blacksquare][1]][1]

我以可视化代码实验室为基础

这是我的可视化代码

 var chartElement = document.createElement('div');
    chartElement.id = 'chartContainer';
    chartElement.style = "height: 300px; width: 100%;";
    document.body.appendChild(chartElement);

黑匣子似乎是某种缓存故障。在我删除文件并重新上传到存储桶中的新位置后 - 它工作正常。

感谢@vishwas R