如何在vs2010中用chart控件画饼图
2个回答
展开全部
Chart1.Series("Default").ChartType = SeriesChartType.Pie
Dim yValues As Double() = {65.62, 75.54, 60.45, 34.73, 85.42}
Dim xValues As String() = {"France", "Canada", "Germany", "USA", "Italy"}
Chart1.Series("Default").Points.DataBindXY(xValues, yValues)
这样就可以了,希望对你有帮助,还有疑问请追问或是Hi
Dim yValues As Double() = {65.62, 75.54, 60.45, 34.73, 85.42}
Dim xValues As String() = {"France", "Canada", "Germany", "USA", "Italy"}
Chart1.Series("Default").Points.DataBindXY(xValues, yValues)
这样就可以了,希望对你有帮助,还有疑问请追问或是Hi
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询