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

Query: Set number of displayed legend entries in a Chart

Thread ID:





121056 Nov 6,2015 12:33 PM UTC Nov 9,2015 12:25 PM UTC ASP.NET MVC 1
Tags: Chart
Robert David
Asked On November 6, 2015 12:33 PM UTC

Hi We're having issues with the number of displayed x axis legend entries. What we are trying to get it a consistent number of evenly spaced x axis labels for multiple different charts (enough data points to produce them).

As an example in the playground if I set maximumLabels to 2, we get an inconsistent number of legend entries.


Is there a way of setting total number of legend entries for a chart?
If not can we make that feature request?

Deepaa Pragaasam [Syncfusion]
Replied On November 9, 2015 12:25 PM UTC

Hi Robert,

 Thanks for contacting Syncfusion Support.

  We have analysed your query.

The MaximumLabels property determines the number of labels displayed per 100 pixels when the range is not set.

To know more about the maximum labels property please refer the below link

If the Range is set, then all the data within the particular range is displayed.

Please refer the below link to know more about the range in datetime axis


If all the labels need to be displayed then the label intersect action can be set as Multiple Rows


To know more about the label intersect action please refer the below sample:


When the label Format for the xAxis labels is changed then more labels will be visible

We have modified the sample containing the label intersect action property.

JSPlaygroundSampleLink : http://jsplayground.syncfusion.com/hkch4g11

We would also like to know if the highlighted part is what you have specified as legends.

If not kindly revert back us to specifying your requirement

Please let us know if you have any concerns




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