0
動機很簡單。請看下面的圖片。所有列都被拉伸(寬度)。有沒有辦法爲每列指定寬度?如何修改列圖的寬度?
column chart example http://img684.imageshack.us/img684/7899/capture20j.jpg
<ChartTools:Chart x:Name="PieCustomerChart" Title="A" Background="LightSteelBlue">
<ChartTools:Chart.Axes>
<ChartTools:LinearAxis Orientation="Y" ShowGridLines="True" Minimum="0" Maximum="1" />
</ChartTools:Chart.Axes>
<ChartTools:Chart.Series>
<ChartTools:ColumnSeries Title="Exam" ItemsSource="{Binding Scores}"
IndependentValueBinding="{Binding Key}"
DependentValueBinding="{Binding Value}" IsSelectionEnabled="True" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
</ChartTools:ColumnSeries>
</ChartTools:Chart.Series>
</ChartTools:Chart>