不知道怎么使用webchart想学习一下!哪位有这方面的资料阿
源代码也可以

解决方案 »

  1.   

    http://www.codeproject.com/aspnet/webchart.asp
    http://www.codeproject.com/aspnet/3dpiechart.asp
      

  2.   

    http://www.pdriver.com/blog/bobjeey/archive/2004/03/04/625.aspxhttp://www.mbsky.com/SoftView/SoftView_5073.html
      

  3.   

    If Not Site Is Nothing AndAlso Site.DesignMode Then
                Dim sType As String
                If Type = ChartType.Bar Then sType = "Bar"
                If Type = ChartType.Pie Then sType = "Pie"
                If Type = ChartType.Line Then sType = "Line"            output.Write("<font size='2' color='navy' face='arial'>[" & sType & " Chart: """ & Me.ID & """ ]</font><br>")
                output.Write("<font size='1'  color='SeaGreen' face='arial'>&nbsp;WebChart not visible in VS.NET designer!</font><br>")
            Else
                Dim WebSource As String = GenerateNameAndRegisterForCall()
                'Write relative URL for image stream request
                output.Write("<img src='" & WebChartImageStream.HandlerFileName & "?id=" & WebSource & "' border='0'></img><br>")
                MyClass.Dispose()
            End If
        End Sub    'RenderWebChartImage() is called by <img> tag
        Public Function RenderWebChartImage() As MemoryStream
            Try
                If Site.DesignMode Then
                    Dim sType As String
                    If Type = ChartType.Bar Then sType = "Bar"
                    If Type = ChartType.Pie Then sType = "Pie"
                    If Type = ChartType.Line Then sType = "Line"
                End If
            Catch WebChartException As Exception
                'Not in design mode, return WebChart stream
                Select Case Type
                    Case ChartType.Bar
                        RenderWebChartImage = makeBarChart()
                    Case ChartType.Pie
                        RenderWebChartImage = makePieChart()
                    Case ChartType.Line
                        RenderWebChartImage = makeLineChart()
                    Case Else
                        Exit Function
                End Select
                Return RenderWebChartImage
                MyClass.Dispose()
            End Try
        End Function
      

  4.   

    to: goody9807() 
    我的email是:[email protected]
    谢谢