Uniform dates on X-axis

6 posts, 0 answers
  1. Kiran Ghanwat
    Kiran Ghanwat avatar
    38 posts
    Member since:
    Nov 2009

    Posted 14 Apr 2010 Link to this post

    I am displaying Dates in the MMM-yy on X-Axis.

    But, I want those to be displayed in uniform manner like ...Mar 05,Mar 06, Mar 07....
    Instead of current display like .... ,Mar 06, Apr 07,Jun 08.....

    Please Find Code and Attachment.

    Please help me.

        ValChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "MMM yy";  
        ValChart.DefaultView.ChartArea.AxisX.IsDateTime = true;  
        ValChart.DefaultView.ChartArea.AxisX.LabelStep = 2;  
        ValChart.DefaultView.ChartArea.AxisX.Step = 5; 
  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 16 Apr 2010 Link to this post

    Hello Kiran Ghanwat,

    The problem stems from the fact that RadChart uses a constant step, that is always the same when graphing the datetime data while months by definition are not uniform at all. Some months are 31 days, others 30, February is 28. When using a uniform step with non-uniform periods you are bound to see some side effects like the one described in your ticket.

    With that said, we realize months are an important time period and are currently looking for ways to better implement support for them. We might have a treat for you in the Q2 release :) Stay tuned!

    All the best,
    Vladimir Milev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Lian
    Lian avatar
    3 posts
    Member since:
    Jun 2010

    Posted 30 Jun 2010 Link to this post

    Has proper handling of monthly dates been included in the new Q2 release?
  4. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 06 Jul 2010 Link to this post

    Hi Lian,

    Yes, the feature will be included with Q2 release, due later this month.

    Best wishes,
    Vladimir Milev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Alex
    Alex avatar
    23 posts
    Member since:
    May 2005

    Posted 29 Sep 2010 Link to this post

    Hello,

    I am working with the demo silverlight tools, and this AxisX date range issue is something that I have been battling with.  I saw this note that there will be something in the Q2 release...  I hastily checked my version Q2 2010 SP1...but can not find anything in the documentation or samples that would indicate that there is anything.

    Is there something that I'm not seeing?  How is this feature utilized?  I would appreciate any pointers to samples or docs.

    Thanks so much.
    Alex.
  6. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts

    Posted 05 Oct 2010 Link to this post

    Hi Alex Durrant,

    Please check this demo and the documentation for more information about the feature. Let us know if you have any problems!

    Best wishes,
    Vladimir Milev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top