📜  如何添加折线图 vb net - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:55.788000             🧑  作者: Mango

代码示例1
MyChart.Series.Clear()

MyChart.Titles.Add("My Chart Title")

Dim MySeries As New Series
MySeries.Name = "My Series"
MySeries.ChartType = SeriesChartType.Line

'Use this to add points to your series
MySeries.Points.AddXY("X Category", 69)
     
MyChart.Series.Add(MySeries)