I am trying to build my own China Map plugin for Grafana using Baidu Echart, but found render() is not called correctly when the edit panel is launched.
Let me choose the worldmap plugin to explain. From the screenshot below it is set as height of 568px.
When the render() is called (set the breakpoint in Chrome) after the edit panel is launched, the height is still 568px.
After the breakpoint is skipped, the height is changed to 397px.
Should the render() be called after the height changed to 397px??
I am not sure how worldmap works to resize itself in this scenario as the height keep the original number when render() is called?
Baidu Echarts fully relies on the panel height, so it will get into trouble when the edit panel is launched like the example below. (Not resizing correctly as it didn’t get the new height value)