I use RadLegend control for my RadChart. Here is my xaml code. However it is not aligning correctly. See the attached image.
<
telerik:RadLegend.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
></
ColumnDefinition
>
<
ColumnDefinition
></
ColumnDefinition
>
</
Grid.ColumnDefinitions
>
<
Path
Width
=
"15"
Height
=
"15"
Fill
=
"{Binding MarkerFill}"
HorizontalAlignment
=
"Left"
Grid.Column
=
"0"
>
<
Path.Data
>
<
Binding
Path
=
"ActualMarkerGeometry"
RelativeSource
=
"{RelativeSource AncestorType=telerik:LegendItemControl}"
>
</
Binding
>
</
Path.Data
>
</
Path
>
<
TextBlock
Text
=
"{Binding Title}"
Foreground
=
"White"
Margin
=
"15 0 0 0"
HorizontalAlignment
=
"Left"
Grid.Column
=
"1"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:RadLegend.ItemTemplate
>