Don't you need the Qx appear event?
Cheers,
Fritz
On Tue, 15 Nov 2011, Marco Pompili wrote:
> Hi Alex,
>
> Highcharts is loaded from the config.json file using an add-script attribute
> on source and build. The main problem is that i must pass the id of a div to
> create an instance of highchart. Also i've added jquery that is required by
> highcharts with the same method with "add-script".
>
> _createDomElement : function() {
> return qx.bom.Element.create("div", { id : "hc" });
> new Highcharts.Chart({
> chart : {
> renderTo : "hc",
> defaultSeriesType : "column"
> }
> });
> }
>
> Highcharts it's still not loading because cannot find the <div
> id="hc"> DOM Element. It's like i need a ready event as in jquery.
>
> -----
> La coincidenza non ha madre.
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/The-correct-use-of-getDomElement-tp6993052p6996585.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
Oetiker+Partner AG tel: +41 62 775 9903 (direct)
Fritz Zaucker +41 62 775 9900 (switch board)
Aarweg 15 +41 79 675 0630 (mobile)
CH-4600 Olten fax: +41 62 775 9905
Schweiz web: www.oetiker.ch
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel