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

format axis labels in chart

1 Answer 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Priti
Top achievements
Rank 1
Priti asked on 07 Jun 2012, 01:11 PM
Hello,

I have 2 dates which i need to display on x axis labels.

For Eg : 04/01/12 to 04/30/12
is the text and I want to display it as-

04/01/12
   to
04/30/12

i can get the dates in separate column or in a single column , whatever is convenient.
please let me know a way I can display the labels in the above format.

thanks!
-priti

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 08 Jun 2012, 10:57 AM
Hello Priti,

You can get the new lines with the new line character '\n' in the string (replacing the spaces between "to" and the dates with '\n' will give you the 3-line layout). Most probably, you will also have to adjust the PlotArea margins so there is enough space for the labels to fit. 
 
Greetings,
Elian
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Priti
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or