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

Adding Scrollbars to Chart Legend


I have a ChartControl and am using CustomItems as Legends. The number of items to be shown is very big. Is it possible to add a scrollbar to the Legend shown in ChartControl?


1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team September 28, 2016 09:53 AM UTC

Hi Swetaketu, 
Thanks for using Syncfusion product. 
We have analyzed your query. As of now there is no scrollbar support for legend, so we have created a feature request for your requirement. And also a support incident to track the status of this feature has been created under your account.  
But we can arrange the legend in rows and columns to avoid this problem. If legend position is mentioned as top/bottom then RowsCount property has to be used. If legend position is mentioned as left/right then ColumnsCount property has to be used. 
Code Snippet: 
Windows forms: 
            legend1.Position = ChartDock.Top; 
            legend1.RowsCount = 3; 
For your reference we have attached the sample. Kindly find the sample from below link, 

Live Chat Icon For mobile
Up arrow icon