wpftoolkit柱形图将图例自动定位在图表的右侧。我想知道如何将传奇放在底部?
XAML :
<DVC:Chart Canvas.Top="80" Canvas.Left="10" Name="colChart" Width="380" Height="250" Background="Azure">
<DVC:Chart.Series>
<DVC:ColumnSeries Title="Daily Sales" IndependentValueBinding="{Binding Path=Key}" DependentValueBinding="{Binding Path=Value}">
</DVC:ColumnSeries>
</DVC:Chart.Series>
</DVC:Chart>
CS :
public Analysis()
{
InitializeComponent();
LoadColumnChartData();
}
private void LoadColumnChartData()
{
((ColumnSeries)colChart.Series[0]).ItemsSource =
new KeyValuePair<string, int>[]{
new KeyValuePair<string, int>("Col3", 240),
new KeyValuePair<string, int>("Col2", 170),
new KeyValuePair<string, int>("Col1", 120) };
}