Telerik Chart Alignment issue

Thread is closed for posting
2 posts, 0 answers
  1. Krishna Samaga
    Krishna Samaga avatar
    15 posts
    Member since:
    Oct 2009

    Posted 29 Jul 2010 Link to this post


    I have a web page which contains multiple telerik radcharts.I have programetically created these radcharts as shown in the attachment. But these charts are not in alignment. I want them to be properly aligned based to their y-axis line i.e. i want to vertically align them based on their plot area. Also i want to set the width for plot area through code so that all the charts are of same width.

    I tried few setting in code but dint get the expected result. Already tried settings are as follows:

    1. series.PlotArea.Appearance.Dimensions.Margins.Left to align the charts vertically but could not get desired result.

    2. series.PlotArea.Appearance.Dimensions.Width to set the width of plot area so that all charts are displayed with same width but could not get desired result.

    I have tried same above mentioned setting with radcahrt.PlotArea but no effect.

    Can anyone please help me resolving these issues at the earliest.

    Thanks in advance...
    Krishna Samaga B.

  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 02 Aug 2010 Link to this post

    Hi Krishna Samaga,

    You can achieve the desired effect by manually setting the PlotArea margin values but note that you need to disable the RadChart.UseAutoLayout feature as otherwise the user-defined margin values will be ignored. We have attached a sample application to get you started.

    Hope this helps.

    Sincerely yours,
    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