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

Unviewable Axis X Labels

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

1 Reply

MA Mohammed Azarudeen Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon