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

Telerik Chart Alignment issue

1 Answer 39 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Krishna Samaga
Top achievements
Rank 1
Krishna Samaga asked on 29 Jul 2010, 01:31 PM
Hi,

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.

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 02 Aug 2010, 06:31 PM
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,
Freddie
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
Krishna Samaga
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or