如何绘制饼图,但我不想在其中包含名称值。我用这样的传说绘制了一个图表。
With Me.chrtRegisterAvailability
.Legends.Clear()
.Series.Clear()
.ChartAreas.Clear()
End With
Dim areas1 As ChartArea = Me.chrtRegisterAvailability.ChartAreas.Add("Areas1")
With areas1
End With
Dim series1 As Series = Me.chrtRegisterAvailability.Series.Add("Series1")
With series1
.ChartArea = areas1.Name
.ChartType = SeriesChartType.Pie
.Points.AddXY("Website Impressions", TextBox1.Text)
.Points.AddXY("Social Media", TextBox2.Text)
.Points.AddXY("Clicks", textbox3.text)
End With
Dim legends1 As Legend = Me.chrtRegisterAvailability.Legends.Add("Legends1")
End Sub
看起来像这样“Picture我希望图表里面没有这个文字。
问题#2。有什么办法可以将这张图表从Form1发送到rdlc。 MS报告答案 0 :(得分:0)
chartName.Series(0)("PieLabelStyle") = "Disabled"