Home > Web Front-end > JS Tutorial > xml document conversion tool, with chart examples (hta)_javascript skills

xml document conversion tool, with chart examples (hta)_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 18:16:10
Original
1123 people have browsed it

Source document, pie chart data

Copy code The code is as follows:



The proportion of each indicator
People

Indicator 1
50
1
< /item>

Indicator two hundred and fifty-two
50
2< /description>


Indicator Three
50



Indicator Four
50
4


Indicator five
50
5

/value>
6


Indicator 7

7


Indicator eight
50
8




Template Document


Copy code The code is as follows:




Convert code
Copy code The code is as follows:

var ctrl1 = new $System.UI. Control("div005");
var srcdoc = $System.XML.XMLUtil.loadXMLFile("ria09\style\xmls\graph_src.xml");
var tpldoc = $System.XML.XMLUtil.loadXMLFile( "ria09\style\xmls\graph_3dpie_tpl.xml");
ctrl1.renderE(srcdoc, tpldoc);

Conversion result
xml document conversion tool, with chart examples (hta)_javascript skills
Code download
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
objective-c - socket sends data in xml format
From 1970-01-01 08:00:00
0
0
0
How to parse and process HTML/XML in PHP?
From 1970-01-01 08:00:00
0
0
0
How to parse and process HTML/XML in PHP?
From 1970-01-01 08:00:00
0
0
0
How to parse and process HTML/XML using PHP?
From 1970-01-01 08:00:00
0
0
0
Update xml namespace with data from PHP form
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template