shifting the pointmarks/graph in a chart

Thread is closed for posting
3 posts, 1 answers
  1. ervin
    ervin avatar
    22 posts
    Member since:
    May 2011

    Posted 25 May 2011 Link to this post

    Hi guys,

    I have a "Line Chart" with 1 series inside. The X-Axis items are the months of the year like, Oct, Nov, Dec etc. and Y-Axis items are some numeric values.

    The PointMarks start in the middle of the columns but I want them to overlap with Grid Lines so they must shift half column width to the (<<) left  direction. (The first point must start from X=0)

    I checked the forum pages but could not find an appropriate way for that. Can you please help me to find a way to shift them without damaging the structure of the line chart ?

    P.S. Please see the attachment..

    Thanks,
    Ervin  
  2. Answer
    Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 27 May 2011 Link to this post

    Hello ervin,

    You can control the Layout (the end of the topic) mode of the Chart by using the LayoutMode property of the Axes. In your case you should set it to Normal like this:

    radChart.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Normal;

    Kind Regards,
    Evgenia
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. ervin
    ervin avatar
    22 posts
    Member since:
    May 2011

    Posted 27 May 2011 Link to this post

    It works!!! Thank you Evgenia..
Back to Top