1
我似乎無法弄清楚如何綁定我的BarSeries中數據點的顏色。我使用控件模板和BarDataPoint看到大量關於此的帖子。我似乎無法確定如何附加模板。silverlight bareries顏色
<charting:Chart Name="chtIndPerformance" Canvas.Left="464" Canvas.Top="275" Height="363" Width="444" FontSize="10" BorderBrush="Transparent" Background="#11306A" Foreground="White" >
<charting:BarSeries IndependentValueBinding="{Binding Path=industryTitle}" DependentValueBinding="{Binding Path=indReturn}" BorderBrush="Transparent">
<charting:BarSeries.DataPointStyle>
<Style>
<Setter Property="Background" Value="{Binding myColorProperty}" />
</Style>
</charting:BarSeries.DataPointStyle>
</charting:BarSeries>
</charting:Chart>
任何人都可以點亮一下嗎?