从 CustomJS 调整散景图的大小。
window.setXYDimension = function (width, height) {
fig.plot_width = width;
fig.plot_height = height;
console.log({fig});
fig.reset(); //reset doesn't exist
fig.resize(); //resize doesn't exist
fig.layout(); //layout doesn't exist
};
任何帮助表示赞赏。