JavaScript Chart - Access Layout and Dataset Through URLXML-Formatted Layout and Dataset

VIEW MORE FEATURES
SAVE
VIEW HTML
EDIT ON CODEPEN
When creating a chart using KoolChart's JavaScript charting library, the user can access Dataset and Layout stored in a JavaScript variable or through a URL of XML-formatted data.
JavaScript Variable
setLayout(String), setData(Array) or setData(XML-Formatted String)
URL of XML-Formatted Data
setLayoutURL(URL), setDataURL(URL)
The Dataset and Layout used to create this JavaScript chart example are accessed through a URL of XML-formatted data:
document.getElementById(id).setLayoutURL("https://www.koolchart.com/demo/Samples/LayoutXml/Column_3D_Layout.xml"); document.getElementById(id).setDataURL("https://www.koolchart.com/demo/Samples/DataXml/singleData.xml");