This article describes about customizing the SfChart legend items and modify their default template.
Scrollbar for the legends can be implemented by assigning the legend ItemsPresenter to the ScrollViewer of the legend ControlTemplate.
The customized ControlTemplate for the legend is defined in the static resource and it is assigned to the Template property of the chart legend.
The following screenshot illustrates the legend items with a scrollbar.
Figure 1: Pie Chart with legend scrollbar
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|