How to stop HTMLChart automatic formatting to date?

2 posts, 1 answers
  1. Abram
    Abram avatar
    4 posts
    Member since:
    Feb 2013

    Posted 18 Mar 2014 Link to this post

    HTMLChart is automatically formatting the ranges of some of my range categories to dates.  I tried changing the XAxis type to 'Category' and put in a dataformatstring in the labelsappearance tag to {0} but it didn't fix the issue.  It auto-formats it for ranges it thinks are dates (e.g. '5 - 9' and '10 - 14').   How can I fix this problem?
  2. Answer
    Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 19 Mar 2014 Link to this post

    Hi Abram,

    This issue is fixed in Q1 2014. I can suggest that you do the following:
    1)Upgrade your version of Telerik UI to 2014.1.225 version.
    2)Set the XAxis type to "Category".
    3)Define the type of the data source field used for the x-axis to "string".


    Regards,
    Danail Vasilev
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top