As above is a pie chart:
The code is as follows:
About XML constructs for pie graphs:
<?xml version= "1.0" encoding= "UTF-8"?><jschart> <dataset type= "pie" > <data unit= " Zhejiang Nanfang Petrochemical Industry Co., Ltd. "value=" 1 "/> <data unit=" Zhejiang Property e-Commerce Co., Ltd. "value=" 1 "/> <data unit=" Zhejiang Property Metal Group Co., Ltd. "value = "4"/> <data unit= "Zhejiang Province Property Group Company" value= "6"/> <data unit= "provincial Group Enterprise" value= "3"/> </dataset > <colorset> <color value= "#FACC00"/> <color value= "#FB9900"/> <color Value= "#FB6600"/> <color value= "#FB4800"/> <color value= "#CB0A0A"/> <color value = "#F8F933"/> </colorset> <optionset> <option set= "Settitlecolor" value= "' # 857d7d ' "/> <option set=" Setpieunitscolor "value=" ' #9B9B9B ' "/> <option set=" Setpievaluescolor "value=" ' #6A0000 ' "/> </optionset></JSChart>
Forgot to upload the js file before ...http://yun.baidu.com/share/link?shareid=648486741&uk=3341728381
Demo There are some examples, but the inside of the JS is not supported in Chinese, used in the outside of JS
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Use JS charts to draw the table (ii)--Pie chart