Chart for WinRT > Chart Features > Chart Legend > Overlapping the Chart with the Legend |
To overlap your Chart with the Legend, use the following XAML markup:
XAML Markup |
Copy Code
|
---|---|
<Chart:C1Chartx:Name="c1Chart1"HorizontalAlignment="Left"VerticalAlignment="Top"Height="326"Width="457"> <Chart:C1ChartLegend Name="legend"OverlapChart="True"/> </Chart:C1Chart> |
You can also set this property in code:
Code |
Copy Code
|
---|---|
legend.OverlapChart = true;
|