How to change Pie/Doughnut direction?

4 posts, 0 answers
  1. BOARD LAB
    BOARD LAB avatar
    23 posts
    Member since:
    Jun 2006

    Posted 07 Jun 2011 Link to this post

    Is it possible to change the direction of a radial series? What I need is to lay items counter-clockwise instead of clockwise (or viceversa, I don't remember) inside the Pie (or Doughnut). How can I achieve this?

    Thanks!
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 09 Jun 2011 Link to this post

    Hi Frenk,
    RadChart currently does not support the feature you need. You can only set the start angle (positive value shifts the starting point counter-clockwise, negative value shifts the starting point clockwise). For example:
    Copy Code
    RadChart1.DefaultSeriesDefinition = new PieSeriesDefinition() { StartAngle = 90 };
    RadChart1.ItemsSource = new int[] { 1, 2, 3 };

    The same approach applies for DoughnutSeriesDefinition as well.

    All the best,
    Tsvetie
    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
  3. BOARD LAB
    BOARD LAB avatar
    23 posts
    Member since:
    Jun 2006

    Posted 09 Jun 2011 Link to this post

    Thanks for the answer, I submitted a feature request.
  4. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 10 Jun 2011 Link to this post

    Hi Frenk,
    This feature is already on our ToDo list. Here is a link to the PITS item - http://www.telerik.com/support/pits.aspx#/public/silverlight/5123, so that you can vote for the feature and track the progress on it.

    Regards,
    Tsvetie
    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