This is a migrated thread and some comments may be shown as answers.

XAxis Date Format

1 Answer 59 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Troy Clemons
Top achievements
Rank 1
Troy Clemons asked on 14 May 2012, 09:13 PM
I have converted a date value using
Dim today As Double = DateTime.Now.[Date].ToOADate()

Now i would like the Label to Show MM/DD and not MM/DD/YYYY

any ideas

Thanks

1 Answer, 1 is accepted

Sort by
0
Troy Clemons
Top achievements
Rank 1
answered on 15 May 2012, 02:42 PM
got the issue resolved by doing this in the page_load event
RadChart1.PlotArea.XAxis.Appearance.CustomFormat = RadChart1.PlotArea.XAxis.Items(0).Value.ToString("MM/dd", CultureInfo.CreateSpecificCulture("en-US"))

Hope this helps somebody out there
Tags
Chart (Obsolete)
Asked by
Troy Clemons
Top achievements
Rank 1
Answers by
Troy Clemons
Top achievements
Rank 1
Share this question
or