Change label item position

Thread is closed for posting
4 posts, 1 answers
  1. max m
    max m avatar
    3 posts
    Member since:
    Dec 2009

    Posted 25 Apr 2010 Link to this post

    Hi
    I need to add labels the X axis as shown in the figure. How?
    (Above shows how the output; below as needed)
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 28 Apr 2010 Link to this post

    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.
  3. max m
    max m avatar
    3 posts
    Member since:
    Dec 2009

    Posted 18 May 2010 Link to this post

    Hi Ves

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

  4. Answer
    Ves
    Admin
    Ves avatar
    2926 posts

    Posted 20 May 2010 Link to this post

    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.
Back to Top