如何定义MSChart多个ColumnLabel的值
1个回答
展开全部
Private Sub Form_Load()
With MSChart1
.ShowLegend = True
.chartType = VtChChartType2dPie
.RowCount = 1
.Plot.SeriesCollection(1).LegendText = "测试1"
.Plot.SeriesCollection(2).LegendText = "测试2"
.Plot.SeriesCollection(3).LegendText = "测试3"
.Plot.SeriesCollection(4).LegendText = "测试4"
End With
End Sub
With MSChart1
.ShowLegend = True
.chartType = VtChChartType2dPie
.RowCount = 1
.Plot.SeriesCollection(1).LegendText = "测试1"
.Plot.SeriesCollection(2).LegendText = "测试2"
.Plot.SeriesCollection(3).LegendText = "测试3"
.Plot.SeriesCollection(4).LegendText = "测试4"
End With
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询