本人新手,求高手讲解MSCHART控件,程序运行后图上各个部分对应MSCHART控件什么方法或者事件,主要的有哪几个

解决方案 »

  1.   

    http://download.csdn.net/detail/veron_04/1483925
      

  2.   

    直接查MSDN,里面有详细的中文帮助,还有示例。MSChart 控件示例
    下面的示例显示一个具有 8 行 8 列数据的三维图表,并设置了图例的参数。
    Private Sub Command1_Click()
       With MSChart1
          '显示一个具有 8 行 8 列数据的三维图表。
          .ChartType = VtChChartType3dBar
          .ColumnCount = 8
          .RowCount = 8
          For column = 1 To 8
             For row = 1 To 8
                .Column = column
                .Row = row
                .Data = row * 10
             Next row
          Next column
          '将图表作为图例的背景。
          .ShowLegend = True
          .SelectPart VtChPartTypePlot, index1, index2, _
          index3, index4
          .EditCopy
          .SelectPart VtChPartTypeLegend, index1, _
          index2, index3, index4
          .EditPaste
       End With
    End Sub