Silverlight 3 工具包图表非常棒。我正在使用 BarSeries,silverlight 显示的条形长度与值绑定成正比。但是有什么方法可以在条形图上或在条形图旁边获得实际值?这是我的 XAML
<chartingToolkit:Chart
Grid.Column="1"
x:Name="chartEnvironmentStatusGlobal"
Title="Environment Status">
<chartingToolkit:BarSeries
x:Name="chartEnvironmentStatus"
Title="Pass"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Background="Green"
IndependentValueBinding="{Binding Path=Instance}"
DependentValueBinding="{Binding Path=Count}"
AnimationSequence="LastToFirst">
</chartingToolkit:BarSeries>
<chartingToolkit:BarSeries
x:Name="chartEnvironmentStatus1"
Title="Fail"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Background="Red"
IndependentValueBinding="{Binding Path=Instance}"
DependentValueBinding="{Binding Path=Count}"
AnimationSequence="LastToFirst">
</chartingToolkit:BarSeries>
</chartingToolkit:Chart>
先感谢您。