不会被坐标轴覆盖Option ExplicitPrivate Sub Command1_Click() Dim Column As Long, Row As Long With MSChart1 .chartType = VtChChartType2dLine .ColumnCount = 4 .RowCount = 8 For Column = 1 To 4 For Row = 1 To 8 .Column = Column .Row = Row .Data = (Column - 1) * 10 Next Row Next Column End With End Sub
就是在mschart控件里边,我准备画一幅xy的2维图,比如:曲线是y=0的一条直线,这样就和x轴重合了,用mschart画出来,只能看到坐标轴,但是看不到要画的曲线了。
我想问的是,又没有什么方法,能够让曲线显示出来,把坐标轴压在下面?
Dim Column As Long, Row As Long
With MSChart1
.chartType = VtChChartType2dLine
.ColumnCount = 4
.RowCount = 8
For Column = 1 To 4
For Row = 1 To 8
.Column = Column
.Row = Row
.Data = (Column - 1) * 10
Next Row
Next Column
End With
End Sub
http://topic.csdn.net/u/20090623/15/83fd893b-1ca1-42aa-932f-d7abb284a55e.html?seed=1346207492&r=57911518#r_57911518