With MSChart1
.ShowLegend = True
.chartType = VtChChartType2dLine
.ColumnLabel = 1
.ColumnCount = 1
.RowLabelCount = rst.RecordCount
.RowCount = rst.RecordCount
rst.MoveFirst
.ColumnLabel = rst.Fields(1).Name
For i = 1 To rst.RecordCount
.Row = i
.Data = rst.Fields(1).Value
.RowLabel = rst.Fields(0).Value
rst.MoveNext
Next
End With横坐标是时间有60个点,纵坐标是对应的值,但是画出来由于横坐标点数太多,ROWLABEL就不显示了。
想着能在一个ROW的范围内画两个点就好了,我令Columncout=2则是多出一条曲线来,愁死了
大家帮帮我,分不够再加!
.ShowLegend = True
.chartType = VtChChartType2dLine
.ColumnLabel = 1
.ColumnCount = 1
.RowLabelCount = rst.RecordCount
.RowCount = rst.RecordCount
rst.MoveFirst
.ColumnLabel = rst.Fields(1).Name
For i = 1 To rst.RecordCount
.Row = i
.Data = rst.Fields(1).Value
.RowLabel = rst.Fields(0).Value
rst.MoveNext
Next
End With横坐标是时间有60个点,纵坐标是对应的值,但是画出来由于横坐标点数太多,ROWLABEL就不显示了。
想着能在一个ROW的范围内画两个点就好了,我令Columncout=2则是多出一条曲线来,愁死了
大家帮帮我,分不够再加!
回答这个就行啦,再加50分