You are viewing documentation for an older version. For current documentation - click here.

Basic example using dataXML method (with XML data hard-coded in PHP page itself)

 

If you view the source of this page, you'll see that the XML data is present in this same page (inside HTML code). We're not calling any external XML (or script) files to serve XML data. dataXML method is ideal when you've to plot small amounts of data.