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

Chart X axis Label

1 Answer 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 15 Sep 2011, 07:43 AM
Hi,
I have a Bar chart which displays date according to month within the selected Date range. But in X axis labels it displays labels for Month which has data. Other months are not displayed in X axis.
How can i achieve such that all the month's within the selected Date Range be displayed in X axis even if no data are present for that month.

1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 20 Sep 2011, 08:09 AM
Hello Vinay Uthappa,

Do you bind the DateTime property to XValue or XCategory? If you're binding it to XValue and have the AutoRange set to true then you would get the months with no data, that are within the same period, as well. Either way, you can always set the X-Axis AutoRange to false and set a custom range that best suits your scenario. For more information on DateTime support, please, have a look at this help topic. 

Regards,
Nikolay
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Vinay
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or