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 add multiple legend items in scroll viewer?

Description:

The legend items are used to display the series label values. When more number of series are added to the chart, some of the legend items are hidden from the view. The chart allows you to place the chart legend inside the scrollbar to view all the legend items. This articles describes how to add multiple legend items inside the scrollbar.

 

Solution:

To add multiple legend items inside any container such as scroll viewer, define the control template for the legends as illustrated in the following code example.

 

XAML

 

The following screenshot illustrates the output.

Figure 1: Chart legends in ScrollViewer.

Article ID: Published Date: Last Revised Date: Platform: Control:
4865 05/13/2015 03/12/2018 Silverlight 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