Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Chart > Right to left property

Not answered Right to left property

Feed from this thread
  • hema avatar

    Posted on Jan 12, 2012 (permalink)

    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

    Attached files

    Reply

  • Evgenia Evgenia admin's avatar

    Posted on Jan 16, 2012 (permalink)

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

    Reply

  • hema avatar

    Posted on Jan 16, 2012 (permalink)

    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

    Reply

  • Evgenia Evgenia admin's avatar

    Posted on Jan 19, 2012 (permalink)

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Chart > Right to left property
Related resources for "Right to left property"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]