X-Axis date range longer than 4 years

2 posts, 0 answers
  1. Cameron
    Cameron avatar
    17 posts
    Member since:
    Jan 2011

    Posted 10 May 2012 Link to this post


    My case is this:
    AxisX -> IsDateTime = true
                 AutoRange = false
                 LayoutMode = AxisLayoutMode.Auto
                 Step = 1
                 No horizontal scroll bar.
    We manually set axis min and max values. We also iterate through all tick points to set labels for each.

    The problem is that when the date range is longer than four years then suddenly TickPoints count drops to 2 and labels don't appear on X axis. This seems like a bug or perhaps another parameter should be set differently.
    To fix that the value of Step is incremented for every additional 4 years. The expected labels appear at set Step intervals but NOT for every point in the chart.
    This is a temporary workaround and we'd like a solution where for every point in the chart a label on X axis is displayed.

    Thank you,

  2. Nikolay
    Nikolay avatar
    384 posts

    Posted 15 May 2012 Link to this post

    Hello Cameron,

    Could you, please, open a support ticket and send us a sample application which reproduces this behavior, as we haven't been able to reproduce it in out local tests, perhaps we are missing some of the details of your scenario.

    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
Back to Top