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.
Unfortunately, activation email could not send to your email. Please try again.

Date axis

Thread ID:

Created:

Updated:

Platform:

Replies:

28142 Apr 25,2005 03:02 PM Dec 15,2005 08:46 AM Windows Forms 3
loading
Tags: Chart
Administrator [Syncfusion]
Asked On April 25, 2005 03:02 PM

1. Hi, I want to make a chart with a datetime x-axis and ChartDateTimeIntervalType.Months. I would like the chart to select the first in each month for the lables. Instead, the chart seems to add thirty days between the lables, making the label day change according to the month lengts. Is there a solution for this? 2. How can I make the x-lables appear rotated.

Davis Jebaraj [Syncfusion]
Replied On April 25, 2005 04:05 PM

Hi, 1. Problem with Month intervals: Thank you for bringing this issue to our attention. This is a open issue I have submitted this issue to our development team. We will address it at the earliest. 2. You can rotate the X axis labels using the code this.chartControl1.PrimaryXAxis.LabelRotate = true; this.chartControl1.PrimaryXAxis.LabelRotateAngle = 270; Thank you for your patience. Regards, Davis

rachakonda
Replied On December 14, 2005 10:56 AM

Hi Davis, My label lengh is around 35 characters and would like to display Angle as 45. I am using the below code. ================================================= this.chartControl1.PrimaryXAxis.LabelRotate = true; this.chartControl1.PrimaryXAxis.LabelRotateAngle =45; ================================================= The end one or two labels are not displaying properly. Is there any property need to be changed? Thanks, rachakonda >1. Hi, I want to make a chart with a datetime x-axis and ChartDateTimeIntervalType.Months. I would like the chart to select the first in each month for the lables. Instead, the chart seems to add thirty days between the lables, making the label day change according to the month lengts. Is there a solution for this? > >2. How can I make the x-lables appear rotated. >

Geetha M [Syncfusion]
Replied On December 15, 2005 08:46 AM

Hi, To display the end labels you can go for adjusting the ChartAreaMargins. The following code illustrates this: this.chartControl1.ChartAreaMargins.Right = value; This will make the ChartArea to be deduced by the specified value from the ChartArea''s representation rectangle. Please let me know if this helps you. Regards, Geetha

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.

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.

;