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.
Unfortunately, activation email could not send to your email. Please try again.

Adding Scrollbars to Chart Legend

Thread ID:

Created:

Updated:

Platform:

Replies:

126155 Sep 27,2016 03:42 PM Sep 28,2016 05:53 AM Windows Forms 1
loading
Tags: Chart
Swetaketu Majumder
Asked On September 27, 2016 03:42 PM

Hi

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?

Thanks,
Swetaketu

Dharanidharan Dharmasivam [Syncfusion]
Replied On September 28, 2016 05:53 AM

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; 
 
Screenshot: 
 
For your reference we have attached the sample. Kindly find the sample from below link, 
  
Thanks, 
Dharani. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;