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

Chart legends

Hi Team,

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


1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team February 20, 2019 04:00 AM

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. 
      //Other configurations 
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. 

Live Chat Icon For mobile
Up arrow icon