一个office 图形(饼图)显示的问题
<OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D"
id=MSChart1 style="LEFT: 0px; TOP: 0px" VIEWASTEXT height=300 width=300></OBJECT>
<script language="vbscript">
window.document.all.MSChart1.TitleText = "Example"
window.document.all.MSChart1.chartType = 14
window.document.all.MSChart1.RowCount = 1
window.document.all.MSChart1.ColumnCount = 5
dim a(5)
for i=1 to 5
a(1)=50
a(2)=50
a(3)=50
a(4)=50
a(5)=50
next
for i=1 to 5
window.document.all.MSChart1.Column = i
window.document.all.MSChart1.ColumnLabel = a(i)
next
window.document.all.MSChart1.ShowLegend = True
window.document.all.MSChart1.ChartData=a
</script>
为什么显示不正确。明明数据都一样。可划分的不对呀?