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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Chart legends

Thread ID:

Created:

Updated:

Platform:

Replies:

142775 Feb 19,2019 02:09 PM UTC Feb 20,2019 09:00 AM UTC ASP.NET MVC - EJ 2 1
loading
Tags: Chart
jsu
Asked On February 19, 2019 02:09 PM UTC

Hi Team,

How can I disable the pagination property of chart legends? Please help.


Thanks

Dharanidharan Dharmasivam [Syncfusion]
Replied On February 20, 2019 09:00 AM UTC

Hi Jsu,  
 
Greetings from Syncfusion. 
 
We have analyzed the enquired requirement. We would like to let you know that, currently there is no option to disable the pagination. When the legend size is increased, then pagination will be visible, this is our default behavior. However, you can specify the size (height/width) to legend based on the device. Find the code snippet below to achieve this requirement. 
 
 
@Html.EJS().Chart("container") 
      //Other configurations 
.Load("load").Render() 
 
function load(args) { 
        args.chart.legendSettings.width = ej.base.Browser.isDevice ? "50%" : "100%"; 
        args.chart.legendSettings.height = ej.base.Browser.isDevice ? "50%" : "100%"; 
    } 
 
 
This can be modified based on your scenario. 
 
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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon