2013-04-09 66 views
0

有誰知道如何標籤在vb.net添加到氣泡圖?如何在asp.net標籤添加到氣泡圖

我可以輕鬆地添加氣泡和大小,但我無法弄清楚如何添加標籤。看細節代碼爲例

Dim xValues As Double() = {10.62, 75.54, 60.45} 
    Dim yValues As Double() = {650.62, 50.54, 600.45} 
    Dim size As Integer() = {10, 20, 30} 
    Dim names As String() = {"a", "b", "c"} 


    Chart5.Series("Series1").ChartType = SeriesChartType.Bubble 
    Chart5.Series("Series1").Points.DataBindXY(xValues, yValues, size, names) 
    Chart5.Series("Series1").MarkerStyle = MarkerStyle.Circle 

任何幫助/想法將不勝感激。

感謝

+0

你在說什麼標籤呢?氣泡或軸標籤上的標籤? – Vishy 2013-04-09 15:53:11

回答

0

只是在我最初的問題和迴應澄清Vishy,我一直在尋找泡沫的標籤。

我發現這個代碼

For i = 0 To 2 
      Chart5.Series("Series1").Points(i).Label = names(i) 
    Next 

希望這可以幫助別人

關於解決方案,