是否可以水平显示条形图?
<Grid x:Name="LayoutRoot" Background="White">
<StackPanel>
<toolkit:Chart Height="400" Width="600" Title="Mered data" >
<toolkit:ColumnSeries ItemsSource="{Binding AverageImpressionLengths}" IndependentValueBinding="{Binding SeqName}"
DependentValueBinding="{Binding Time}"
HorizontalAlignment="Left" Height="304" VerticalAlignment="Top" Width="266"/>
</toolkit:Chart>
</StackPanel>
</Grid>
答案 0 :(得分:1)
是的,您可以将ColumnSeries
替换为BarSeries
:
<toolkit:Chart Height="400" Width="600" Title="Mered data" >
<toolkit:BarSeries ItemsSource="{Binding AverageImpressionLengths}"
IndependentValueBinding="{Binding SeqName}"
DependentValueBinding="{Binding Time}" />
</toolkit:Chart>