EJSC.XMLStringDataHandler

               

Hierarchy                Methods                Events

Top  Previous  Next

 

XMLStringDataHandler processes the provided xml-formatted string, determines the format (Full, Short or Compact) and extracts the data points into a format that the Series classes can manipulate.

 

The constructor expects a properly formatted string containing XML data and an optional set of object properties.

 

Constructor

 

               EJSC.XMLStringDataHandler( string xml [, object options] )

 

Example

 

var myDataHandler = new EJSC.XMLStringDataHandler(

               '<?xml version="1.0"?><graph><plot><point x="1" y="1" /><point x="2" y="2" /><point x="3" y="3" /></plot></graph>'

);

 

 

Formats:

 

The XMLStringDataHandler supports three formats:

Full
Short
Compact