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

Change label item position

3 Answers 74 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
max m
Top achievements
Rank 1
max m asked on 25 Apr 2010, 01:40 PM
Hi
I need to add labels the X axis as shown in the figure. How?
(Above shows how the output; below as needed)

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 28 Apr 2010, 08:17 AM
Hi max,

You can set the LayoutMode property of the XAxis to ChartAxisLayoutMode.Normal. You can find more details in this help topic.


Best regards,
Ves
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
max m
Top achievements
Rank 1
answered on 18 May 2010, 07:33 PM

Hi Ves

This is not what I want. Above shows how the output when XAxis in ChartAxisLayoutMode.Normal mode; below as needed

0
Accepted
Ves
Telerik team
answered on 20 May 2010, 04:34 PM
Hi max,

It seems, there is a second series in the chart. In this case the bars are positioned so that the tick appears at their common border (the right end of the first series' bars and the left end of the second series' bars). To achieve a chart which looks like the lower one in your image you may consider updating the XValues of the ChartSeriesItems by adding half of the X axis step. This will shift the bars to the right.

Kind regards,
Ves
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart (Obsolete)
Asked by
max m
Top achievements
Rank 1
Answers by
Ves
Telerik team
max m
Top achievements
Rank 1
Share this question
or