Right to left property

4 posts, 0 answers
  1. hema
    hema avatar
    16 posts
    Member since:
    Mar 2011

    Posted 12 Jan 2012 Link to this post

    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

  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 16 Jan 2012 Link to this post

    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).

  3. UI for WinForms is Visual Studio 2017 Ready
  4. hema
    hema avatar
    16 posts
    Member since:
    Mar 2011

    Posted 16 Jan 2012 Link to this post

    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
  5. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 19 Jan 2012 Link to this post

    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).

Back to Top