Add custom loaders through the JavaScript API.
Awaiting Reply
Hi all,
This little nugget of brilliance in 9.4... Do we know when the wiki is going to updated with how to do this (or if it has point me there, I can't find it for love nor money)...and if it's a while off, can you provide me a sneak preview for this specific update?...very keen for this, we add custom loaders already in code mode on the dashboards but I suspect it would work a lot better using the API.
Hi Lex,
Thanks for reaching out. I will chase up on documentation for this, but I can indeed give a sneak peak!
This enhancement provides for 2 pieces of functionality.
1. Completely replacing the Standard Yellowfin Loader. This can be achieved using the preventDefault() calls to make sure the Yellowfin loader is not triggered
2. Allow the developer to change the element that the loader will be added to. In the case of a canvas there may be a lot of charts in a close proximity to each other, and this can allow a developer to push the renderer up a level. I've also attached two relevant files containing scripts to test out this functionality - loader_testing.html and overrideloader.html.Please take a look through these and give this a try and let me know how goes.
Regards,
Mike
Comments have been locked on this page!