Hey tyingq,
The examples are loaded in iframes due to security considerations given that the sample code is editable.
For your own use you don't have to load the charts in in iframe.
That's just our doc framework (early days). You can embed them in a DIV/SPAN etc.