diff --git a/client/src/main/scala/com/v6ak/zbdb/ChartJsUtils.scala b/client/src/main/scala/com/v6ak/zbdb/ChartJsUtils.scala index db089d3..c1c995a 100644 --- a/client/src/main/scala/com/v6ak/zbdb/ChartJsUtils.scala +++ b/client/src/main/scala/com/v6ak/zbdb/ChartJsUtils.scala @@ -116,8 +116,9 @@ object ChartJsUtils { val chart = new Chart(can, plotParams) val resizeHandler: Event => Unit = _ => { + // seems no longer needed //chart.update() - chart.resize() + //chart.resize() } window.addEventListener("resize", resizeHandler)