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

Unviewable Axis X Labels

Thread ID:

Created:

Updated:

Platform:

Replies:

117233 Sep 12,2014 01:20 AM UTC Sep 12,2014 11:57 AM UTC WPF 1
loading
Tags: Chart
Chong Yee Mei
Asked On September 12, 2014 01:20 AM UTC

Hi,

We are plotting charts with sometimes a huge amount of data, resulting in a very crowded chart. In cases like Column or bar charts, there is an issue where the chart is too crowded that the chart is hiding the labels on the X axis, as attached.

Is there any setting that we are missing or is there a way to avoid this issue. (Reducing number of items do not count)



Attachment: chartAxis_4c518e11.rar

Mohammed Azarudeen [Syncfusion]
Replied On September 12, 2014 11:57 AM UTC

Hi Chong,

 

We have analyzed your requirement and you can set edge labels by setting the property EdgeLabelsDrawingMode as Shift for the axis. Inorder to show all the labels in the axis, you can set the property LabelsIntersectAction as MultipleRows as shown in the below code snippet.

 

Code Snippet [XAML]:

 

<chart:SfChart.PrimaryAxis>

      <chart:CategoryAxis EdgeLabelsDrawingMode="Shift"  LabelsIntersectAction="MultipleRows"></chart:CategoryAxis>

</chart:SfChart.PrimaryAxis>

 

We have prepared a sample based on this and please find the attached sample.

 

Please let us know if this helps.

 

Thanks,

Mohammed Azarudeen.


Attachment: AxisLabels_6abe37fa.zip

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.

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

;