2
我已經使用Silverlight的無線工具包如下產生氣泡圖上的氣泡圖中的數據點的入圍值:Silverlight工具包:如何閱讀
<charting:Chart Title="Bubble Chart"
LegendTitle="Legend"
Name="chart1" Margin="0,0,0,42"
HorizontalAlignment="Left" Width="568">
<charting:Chart.Series>
<charting:BubbleSeries Title="Pollutant A" IsSelectionEnabled="True"
ItemsSource="{Binding Pollution}"
IndependentValuePath="AQI"
DependentValuePath="Level"
SelectionChanged="ChangeSomething"
SizeValuePath="size1" >
</charting:BubbleSeries>
</charting:Chart>
而且我xaml.cs定義這樣的處理程序:
private void ChangeSomething(object sender, SelectionChangedEventArgs e){
Text1.text="selection changed"
// Here I want to show the value of the bubble selected
}
有人能告訴我怎麼做呢?謝謝:)
它的工作!非常感謝 :) :) – atv 2011-02-11 13:29:35