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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set or modify the label of the each legends ?

Description:

This article describes how to define the label for the legend items of the series.

Solution:

You can the content of the legend icon label by changing the content of the series label by using the Label property in the series as in the following code examples.

D:\desktop\img.jpgNote: The screenshot is having the header for the legend that is defined by using the Header property of the ChartLegend.

 

XAML

 

C#

 

Output:

F:\Issue Files Chart\Issue File -10 Knowledge Base\WP_ScreenShot\Third Screen Shot for left 000\wp_ss_20150210_0054.png

Figure 1: SfChart with legend.

Article ID: Published Date: Last Revised Date: Platform: Control:
4682 04/22/2015 04/22/2015 Windows Phone SfChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon