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

PrimaryXAxis limiting labels displayed

I am trying to chart some hourly data over the course of 6 weeks in a simple line graph.  The problem I am having is I don't want an XAxis label displayed for each of the plotted points.  I really only want about 10 of the datapoints to have a label.  How can I do this?


1 Reply

AT Anandaraj T Syncfusion Team April 29, 2013 03:41 PM UTC

Hi Justin,

Thanks for using Syncfusion products.

We suggest you to set "TickLabelsDrawingMode" property of primary X-axis to usermode, for manually configuring the labels of primary X-axis, and "Add" method of primary X-axis labels to add custom labels to a data point. Also, we have created a simple sample for limiting the labels of primary X-axis and a screenshot of the output in the attachment.

Please let us know if you have any concerns.



Live Chat Icon For mobile
Up arrow icon