rt

解决方案 »

  1.   

    是谁有这方面的资料!
    请给点点
    [email protected]
    我的邮箱,贴出链接也行!
      

  2.   

    可以用直线模拟,画线用line,可以按比例算出角度,用半径和三角函数算出坐标,从圆心到边画线
      

  3.   

    是啊,用MsChart可以做各式各样的包括饼图
      

  4.   

    用MsChart做啊,这是我写的用饼图显示数据库里男女比例的例子,看看有用不.
    Private Sub Form_Load()
    Dim RSName As ADODB.Recordset '定义一记录集变量
    Dim ssql As String
    Dim vntx(1, 1 To 2), inti As Integer
    Dim vnty(1 To 2)
    Dim myconnection As New ADODB.Connection
    myconnection.ConnectionString = "driver={SQL Server};" & "server=jxrj-36;uid=;pwd=;database=tushuguanli"
    myconnection.Open
    ssql = " select  count(*) From reader where rsex ='女'"
    Set RSName = myconnection.Execute(ssql)
    vntx(1, 1) = RSName.Fields(0)
    RSName.Closessql = " select  count(*) From reader where   rsex ='男'"Set RSName = myconnection.Execute(ssql)
    vntx(1, 2) = RSName.Fields(0)RSName.Close
    MSChart2.ChartData = vntx
    End Sub
      

  5.   

    请问,怎么从组件里面添加machart控件吗?
      

  6.   

    up,你打开VB企业版什么都有了
      

  7.   

    部件箱添加microsoft chart control 6.0