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

Align x-axis label in center of reporting bar chart

2 Answers 3269 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mohsin
Top achievements
Rank 1
Mohsin asked on 26 Mar 2012, 04:44 PM
Hi,

Can any one tell me how to aligned x-axis label in center of bar chart.
Please see attached screen shot highlighted with red box.
This is my current out put. I want the x-axis label to remain in center but the label text will be vertically in one line.
I tried by increasing the height of x-axis label....the label text become vertically in one line but the labels are automatically ligned to left.

Can any one give me any idea to make that center and vertically in one line.
I am not using code behind code. Need to done with designer.

Urgent response will be appericiated.

Thanks,

2 Answers, 1 is accepted

Sort by
0
Accepted
Elian
Telerik team
answered on 29 Mar 2012, 01:27 PM
Hello Mohsin,

In the chart properties go in PlotArea -> XAxis -> Appearance -> LabelAppearance -> Position -> AlignedPosition - if set to Center, it will center the labels according to the space between the edge of the chart and the plot area, which means that it will look centered if there is enough space for the labels. To adjust this space, you can go under PlotArea -> Appearance -> Dimensions -> Margins -> MarginBottom - and increase it, thus leaving more space for the labels. 

Regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Mohsin
Top achievements
Rank 1
answered on 03 Apr 2012, 06:55 PM
Thanks Elian, it worked for me.
Tags
General Discussions
Asked by
Mohsin
Top achievements
Rank 1
Answers by
Elian
Telerik team
Mohsin
Top achievements
Rank 1
Share this question
or