0

是否可以水平显示条形图?

  <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>
4

1 回答 1

1

是的,有可能,您应该替换ColumnSeriesBarSeries

<toolkit:Chart Height="400" Width="600" Title="Mered data" >              
    <toolkit:BarSeries ItemsSource="{Binding AverageImpressionLengths}" 
            IndependentValueBinding="{Binding SeqName}"
            DependentValueBinding="{Binding Time}"  />
</toolkit:Chart>
于 2013-03-16T11:15:25.767 回答