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.
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.
The following screenshot illustrates the output.
Figure 1: Chart legends in ScrollViewer.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.