Hi Team,
We are using XamDataChart for display data, we use Legend with following settings
<ig:Legend x:Name="AMLegend" Grid.Row="2" Grid.Column="1" BorderBrush="Transparent" Background="Transparent" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Top"/>
How we get rid of the red encircled lines from left and right side of legend ?
Please see attached snapshot.
Hello Elinder,
Thank you for your post. I have been looking into the screenshot that you have attached and in the Legend’s template, there are two rectangles that are taking this space and also the Margin of the Legend is set to 10 by default. I have created a sample application for you, that shows how you can remove this space, by re-templating the Legend and reoving rhe Rectangles and the ColumnDefinitions for them.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Hi Krasimir,
Thank you so much, your provided solution solved my problem.