We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

xaml syntax for legend position

The example shows how to position the legend in code. What is the xaml syntax to do the same thing?
Bill

1 Reply

CS C. Sudha Syncfusion Team September 15, 2009 11:20 AM UTC

Hi Bill,

In XAML, the position of the legend is specified by using the attached property ChartDockPanel.Dock.

Syntex:




The below code shows the chart legend position as left in XAML file.



syncfusion:ChartDockPanel.Dock="Left"
CheckBoxVisibility="Visible"
Visibility="Visible" BorderThickness="0.5" >




For more information about legend, please refer the below link.

http://help.syncfusion.com/ug_73/chartwpf/ChartAndChartAreaLegends.html

Please let us know if you have any questions about this.

Thank you for choosing Syncfusion Products.

Regards,
SudhaC.


Loader.
Live Chat Icon For mobile
Up arrow icon