XAxis Date Format

Thread is closed for posting
2 posts, 0 answers
  1. Troy Clemons
    Troy Clemons avatar
    69 posts
    Member since:
    Apr 2010

    Posted 14 May 2012 Link to this post

    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
  2. Troy Clemons
    Troy Clemons avatar
    69 posts
    Member since:
    Apr 2010

    Posted 15 May 2012 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top