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.
Syncfusion Feedback

Column and Axis Label Positioning in Column Charts

Thread ID:

Created:

Updated:

Platform:

Replies:

88429 Jul 22,2009 05:47 PM UTC Jul 23,2009 04:31 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: Chart
Gary Nicol
Asked On July 22, 2009 05:47 PM UTC

Hi,

Is it possible to alter the position of the columns (and corresponding X-axis labels) in a column chart so that the columns are positioned between the ticks rather than centred on them?

I've attached an image that shows what I currently have, and a mock-up of what I'm trying to achieve.

Best regards,

Gary




ChartColumnPositioning_4cc9574.png

Venkata Vijayaraj B [Syncfusion]
Replied On July 23, 2009 02:45 PM UTC

Hi Gary,

Sorry for the inconvenience caused. we don’t have direct support to move only the column and label.

We have property to move the Column with label and Tick mark.
property:
this.chartControl1.PrimaryXAxis.PointOffset = 0.5;

But, We can meet this by drawing custom tick marks. This can be achieved by using 'this.chartControl1.PrimaryXAxis.PointOffset' property, 'this.chartControl1.ChartAreaPaint' event.

I have attached the sample for this.

Sample Link:
http://files.syncfusion.com/support/Chart.Windows/v7.3.0.20/F88429/main.htm

Please let me know if this meets your requirement.

Regards,
Venkat.

Gary Nicol
Replied On July 23, 2009 04:31 PM UTC

Hi Venkat,

That will meet our requirements.

Many thanks for taking the time to write the sample code.

Best regards,

Gary

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

;