This is a migrated thread and some comments may be shown as answers.

Set Minimum and Maximum Dates to Show on Bar Chart

1 Answer 78 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Barry
Top achievements
Rank 1
Barry asked on 01 Mar 2012, 05:42 PM
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Peshito
Telerik team
answered on 02 Mar 2012, 10:05 AM
Hi,

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,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Barry
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or