一个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>
为什么显示不正确。明明数据都一样。可划分的不对呀?
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>
为什么显示不正确。明明数据都一样。可划分的不对呀?
...全文
相关推荐
Excel绘制饼图 折线图 柱状图 类库 jxcell.jar
Excel导出时需要绘制饼图 柱状图 折线图时, 需要用的到的类库 jxcell.jar
Android应用中将本地图片转换为Drawable对象的方法
通过获取图片文件路径、将文件加载到InputStream中,再将InputStream转换为Drawable对象,我们可以方便地在Android应用中使用本地图片。注意,如果图片文件不在assets目录下,而是在其他位置,需要调整获取InputStream的方式。在Android应用开发中,有时我们需要将本地存储的图片文件转换为Drawable对象,以便在应用界面中使用。首先,我们需要获取本地图片文件的路径。一旦我们获取了图片文件的InputStream,就可以将其转换为Drawable对象。
OWC统计图攻略
OWC统计图攻略,相信对很多人都有帮助
电脑高手(office,系统问题)
电脑高手,在维护和使用电脑中,1年的经验总结。
谷Office_2007_培训教材(上).
谷Office_2007_培训教材(上).比较好吧。


