属性里设置
.Plot.SeriesCollection(1).LegendText = CStr(Year(Now) - 5) + "进口量"
.Plot.SeriesCollection(2).LegendText = CStr(Year(Now) - 4) + "进口量"
.Plot.SeriesCollection(3).LegendText = CStr(Year(Now) - 3) + "进口量"打印代码如下
MSChart1.EditCopy 'copies a picture of the chart
Printer.PaintPicture Clipboard.GetData(vbCFMetafile), 0, 0, _
MSChart1.Width, MSChart1.Height
Printer.EndDoc 'sends the chart to the printer
Clipboard.Clear
但结果中图例却是c1,c2,c3
怎么解决呀!请多帮忙!解决立即散分!在线