Populating X axis issue

2 posts, 0 answers
  1. Matt
    Matt avatar
    3 posts
    Member since:
    Mar 2009

    Posted 23 Apr 2009 Link to this post

    Hi -

    I'm populating a barseries with code that looks like this:


    foreach(var week in auditstats)




    new DataPoint() { XValue = week.Week, YValue = week.AuditCount });



    The x is calendar week and the y is a number.  The problem comes when a week is missing from the underlying data.  When all the weeks are represented I get an x axis that looks like this:  15   16    17

    But when week 16 is missing I get an x axis that looks like this:  15     16.5

    How can I fix this so that I get eiher only the data from the underlying set (15, 17) or get all the weeks whether or not they're in the underlying data (15, 16, 17)?

  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 27 Apr 2009 Link to this post

    Hello Matt,

    The problem you are describing could be solved by a feature of RadChart which we call "strict mode". Unfortunately the first version of RadChart we shipped does not support this yet. It is a highly requested feature and we will do our best to include it in Q2 release.

    Vladimir Milev
Back to Top