showOverlay for chart

It would be really nice if Webix charts supported a .showOverlay() method. Charts may simply not have data, or it may take a while to load it - both situations benefiting from an appropriate overlay.

I found this 2014 thread with a workaround but there seem to be enough issues with it that a Webix-provided solution would be best (unless there’s a better workaround in the meantime?).

Thanks!

Hi Webix team, any thoughts on this?

This request is really old now - is the functionality a possibility?
-Srvrside

Hello @SrvrSide,

This request is really old now - is the functionality a possibility?
All components (except datatable) do not have such functionality.
But it can be done by extending the component with the showOverlay functionality :

webix.extend(chart, webix.OverlayBox);
chart.showOverlay("I'm empty");

Please take a look at the snippet:
https://snippet.webix.com/n6qfy6r1

Thank you Annazankevich,
This should resolve the issue for me, very much appreciate the response and pointer
-SrvrSide