Quantcast
Viewing all articles
Browse latest Browse all 2801

how to detect if Vizframe is created , and corresponding svg is constructed

Hi guys,

 

I am currently suffering from using Vizframe. I have created a vizframe, and make it work .  however the label of legend need to be localized, which I have not found any way and example yet, due to lack of reference. 

 

so I refer to jquery to directly access the DOM after ui5 rendering. but I cannot find any hook method that I can put my logic in(the onAfterRendering does not work for SVG).

 

finally I find that window.load is proper for my case, but only for the initial loading.

Since I am developing app and have more than one page containing chart that, when I navigate to another page, there is no window.load event for that page .

 

from here, I make two possible guesses that your might provide help on.

1. is there any hook lifecycle method, which is especially for vizframe?

2. any Jquery / JS method for svg rendering  complete/ update event?

 

very appreciated.


Viewing all articles
Browse latest Browse all 2801

Trending Articles