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

Chart IsAutoMajor

Thread ID:

Created:

Updated:

Platform:

Replies:

105517 Nov 1,2012 03:39 PM UTC Nov 2,2012 01:03 PM UTC WinForms 4
loading
Tags: XlsIO
Emma Clarke
Asked On November 1, 2012 03:39 PM UTC

Hi,
 
I am having some issues making the X axis label frequency automatic.
 
I am using a bar chart and even with IsAutoMajor = true the labels are all bunched up together
 
I have read several threads regarding the Chart IsAutoMajor having issues, do i have to use this feature in confunction with some else to make it work, as it doesn't appear to.
 
I can change the tick mark spacing and it does space out the labels correctly but i need it to be automatic.
 
Thanks
Emma

Emma Clarke
Replied On November 1, 2012 03:51 PM UTC

I am using version 10.102.0.44
 
And this is my chart setup. Sorry code doesn't paste in here very well.
 

Chart.PrimaryCategoryAxis.Title = XAxisTitle;

Chart.PrimaryCategoryAxis.TextRotationAngle = 45;
Chart.PrimaryCategoryAxis.IsAutoMajor = true
chart.PrimaryValueAxis.Title = YAxisTitle;
Chart.PrimaryValueAxis.TitleArea.TextRotationAngle = 90;

chart.PrimaryCategoryAxis.TitleArea.FontName = FontName;

chart.PrimaryCategoryAxis.TitleArea.Size = 10;
chart.PrimaryCategoryAxis.Font.Size = 8;
chart.PrimaryCategoryAxis.Font.FontName = FontName;
chart.PrimaryCategoryAxis.Border.ColorIndex =

ExcelKnownColors.Grey_25_percent;

chart.PrimaryCategoryAxis.Border.LineWeight =

ExcelChartLineWeight.Narrow;

if (chart.PrimaryCategoryAxis.HasMajorGridLines) {

chart.PrimaryCategoryAxis.MajorGridLines.LineProperties.ColorIndex = ExcelKnownColors.Grey_25_percent;

chart.PrimaryCategoryAxis.MajorGridLines.LineProperties.LineWeight =ExcelChartLineWeight.Narrow;
}

Johnson Monohar M [Syncfusion]
Replied On November 2, 2012 06:14 AM UTC

Hi Emma Clarke,

Thank you for using Syncfusion products.

We would like to know your assembly version of Essential XlsIO. The issue that you are facing with clubbing of labels together has been fixed in our latest version (10.3.0.43). A sample of that has been provided to you in the below link along with a video screen-shot of the same. Kindly try it with our latest version and let us know whether the issue is reproducing or not.

Sample Link : IsAutoMajor.zip

Video Screen-shot : ScreenCapture_11-2-2012 12.58.42 AM.wmv.zip

You can find the latest version from the link :
http://www.syncfusion.com/downloads/latest-version

Moreover, if you are facing any issues still, you can create an incident using DirectTrac by logging in with your account details.

DirectTrac Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents.

Please let us know whether your issue is resolved or if you need any clarification.

Thanks,
Johnson


Emma Clarke
Replied On November 2, 2012 11:12 AM UTC

Thanks Johnson,
 
I will try with the latest version and let you know.
 
Thanks
Emma

Mahajothi R [Syncfusion]
Replied On November 2, 2012 01:03 PM UTC

Hi Emma Clarke,

 

Thank you for updating us. Please let us know if you require any further assistance.

 

Regards,

Mahajothi.


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

;