Set Minimum and Maximum Dates to Show on Bar Chart

2 posts, 1 answers
  1. Barry
    Barry avatar
    90 posts
    Member since:
    Jul 2011

    Posted 01 Mar 2012 Link to this post

    I'm using the chart with a BarSeriesDefinition and I would like to have the chart only display the dates for the current week. When I set the MinValue and MaxValue for the beginning and ending of the current week it doesn't show days at the beginning or ending if there are no values for those days. I would like the chart to always show every day of the week even if there are no values associated with that day... how can I do that?
  2. Answer
    Peshito avatar
    493 posts

    Posted 02 Mar 2012 Link to this post


    I tried and was not able to reproduce your issue. It might happen because of the auto range of your axis. When the axis is set manually the axis AutoRange property should be set to False and then the range can be set manually by using the MinValue, MaxValue and Step properties. Could you please take a look at the attached sample project which is similar to your scenario.

    If the attached sample does not help, would it be possible to provide us with a sample project isolating the problem so we could give you more accurate solution.

    Should you have any more questions, please do not hesitate to ask.

    Kind regards,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top