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

X-Axis Date Custom Format problem

Thread ID:





75742 Aug 7,2008 02:47 PM UTC Aug 8,2008 07:36 PM UTC WinForms 2
Tags: Chart
Robert Avery
Asked On August 7, 2008 02:47 PM UTC

I'm trying to display the X-Axis with a date format of "MMM-YY" such that it looks like:

But I haven't been able to figure out either how to specify a .NET custom formatter or other method to accomplish this. Any ideas? Thanks.

Manohari [Syncfusion]
Replied On August 8, 2008 05:18 AM UTC

Hi Robert,

It is possible to set the DateTimeFormat to X-Axis using the chartControl1.PrimaryXAxis.DateTimeFormat property. Please refer to the same code below.

Sample code:

this.chartControl1.PrimaryXAxis.ValueType = ChartValueType.DateTime;
this.chartControl1.PrimaryXAxis.DateTimeFormat = "MMM:yy";

Also I have attached the sample that illustrates the same in this link below.


Kindly let us know if this meets your requirements. Thanks for your patience.


Robert Avery
Replied On August 8, 2008 07:36 PM UTC

After I got the latest version of your product, this worked.

Thank you.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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