Flush line chart to edges?

Thread is closed for posting
2 posts, 0 answers
  1. bemara57
    bemara57 avatar
    57 posts
    Member since:
    Mar 2008

    Posted 13 Mar 2009 Link to this post

    In line charts, they seem to be centered with padding to the edge of the chart:
    http://demos.telerik.com/aspnet-ajax/chart/examples/skinning/lines/defaultcs.aspx

    Is there a way to make the line flushed to the edges?



  2. Dessy
    Admin
    Dessy avatar
    73 posts

    Posted 16 Mar 2009 Link to this post

    Hello bemara57,

    In order to be able to flush the line of the chart to the edges you should set the LayoutMode property of the XAxis to Normal:

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

    Sincerely,
    Dessy
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top