This is a real-time pie chart that reads data every 5 seconds from an XML file. JetChart implements XML parsing, making it possible to read a stream of XML data over a URL connection. The XML elements follow some rules, which are explained in the applets documentation. Only two parameters have to be configured in order to start reading data: 'xmldatasourceurl', which defines the URL the data is supposed to come from, and optionally the 'timerinterval' parameter, if it is necessary to periodically refresh chart data.

An important point to be considered about reading data over an URL connection is that an applet is only allowed to read data from the same server it comes from. Any attempt not to do so is detected by the browser security manager.