Page 1 of 1

Why <iframe>?

Posted: Fri Jun 27, 2014 6:27 pm
by 9347097
All of your examples I've seen place the canvas in an iframe. Is there something special about that? I would guess it's because a) you get a resize event to redraw the Chart, and b) it handles output from TeeSaveToJavascriptFile.

Thanks.

Re: Why <iframe>?

Posted: Mon Jun 30, 2014 2:42 pm
by yeray
Hi Jim,

What examples are you looking at?
I see an iframe in the examples here, but not in the example here.

Re: Why <iframe>?

Posted: Mon Jun 30, 2014 3:46 pm
by 9347097
The second example (http://www.steema.com/files/public/teec ... 1.4/demos/) is also using an iframe. See the attached screen shot of a Chrome session.

Re: Why <iframe>?

Posted: Tue Jul 01, 2014 10:46 am
by yeray
Hi Jim,

Yes, but this is to separate the tree on the left and the example on the right.
If you open the example in a new tab, or following this link to see the example without the tree, you won't see any iframe in the example.