javascript - how to change injection target to create treemap in jit infovis toolkit? -


i need create 2 squarified treemaps in 1 web page. used jit infovis toolkit create treemap. possible create treemaps not using div id "infovis"?cause when change id of div else "test" example, cause error treemap doesn't work. change "inject into" property in jit javascript function used create treemap . please help

yes, possible that.

in standard examples of infovis, div "infovis" contained in "center-container". html page includes css file base.css. file applies rules both "infovis" , "center-container".

#infovis {   position:relative;   width:600px;   height:600px;   margin:auto;   overflow:hidden; }  

and center-container..

#center-container {   width:600px;   left:200px;   background-color:#1a1a1a;   color:#ccc; } 

you can check in html file renders visualization. should make sure div in want inject visualization, applied same/similar rules. may have more changes in html file , css file, make sure have proper hierarchy of divs , rules of base.css applied them. can without looking @ html file , code.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -