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

Right to left property

3 Answers 56 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
hema
Top achievements
Rank 1
hema asked on 12 Jan 2012, 11:23 AM
Hi
i am using chart control with legends.
is RighttoLeft property available for chart control.
when i set RightToLeft, the legend should be displayed at left side.

please find the attached screen shot for my requirement. i need to move atleast legend

Thanks
hema

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 16 Jan 2012, 04:27 PM
Hi Hema,

Thanks for contacting us.
You may specify a custom Start Angle for your Pie chart with the  Appearance.StartAngle property. For example:
<Series
<telerik:ChartSeries Name="series 1" Type="Pie" Appearance-StartAngle="280"/> 
</Series>

As for the Legend position - you can control it like this:
<Legend Appearance-Position-AlignedPosition="Left"/>

Feel free to customize the values of the mentioned properties so that they meet your requirements.

Let me know if there's anything else we can assist you with.

Greetings,
Evgenia
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

0
hema
Top achievements
Rank 1
answered on 17 Jan 2012, 05:34 AM
Hi,

I have developed a windows application i have used telerik winform controls not the web application .So please can u explain it how can i customize in windows apllication.


Thanks
Hema
0
Evgenia
Telerik team
answered on 19 Jan 2012, 10:14 AM
Hi Hema,

   Indeed these code snippets are applicable for RadChart for ASP.NET AJAX and not WinForms. However the properties that you have to set are absolutely the same.
The StartAngle property specifies degrees for the rotation of the pie. The default value and the starting position is 0°. Positive values of the StartAngle property will rotate the pie clockwise and negative - counterclockwise:
ChartSeries chartSeries1 = new ChartSeries();
chartSeries1.Type = ChartSeriesType.Pie;
chartSeries1.Appearance.StartAngle = 280;

As for the Legend - you should be able to achieve this with the Legend's Appearance.Position property.

Kind regards,
Evgenia
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Tags
Chart (obsolete as of Q1 2013)
Asked by
hema
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
hema
Top achievements
Rank 1
Share this question
or