How to rotate Polar Chart?

5 posts, 1 answers
  1. Daniel
    Daniel avatar
    5 posts
    Member since:
    Jan 2018

    Posted 16 Apr 2018 Link to this post

    Is there anyway to rotate the polar chart so that it starts with 0 at the top of the graph instead of 0 being at the right? 

    Cheers

    Dan

  2. Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 17 Apr 2018 Link to this post

    Hello Dan,

    The axis cannot be made vertical but you can check if setting the IsInverse suits your case:
    PolarAxis axis = radChartView1.Axes.Get<PolarAxis>(0);
     
    axis.IsInverse = true;

    Almost any scenario can be achieved with custom rendering which allows you to manually paint the chart parts: Custom rendering.

    I hope this will be useful.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Daniel
    Daniel avatar
    5 posts
    Member since:
    Jan 2018

    Posted 17 Apr 2018 Link to this post

    Thanks for the reply, but i more meant for the radial axes around the edge to have the 0 at the top
  4. Answer
    Dimitar
    Admin
    Dimitar avatar
    2907 posts

    Posted 17 Apr 2018 Link to this post

    Hello Daniel,

    It appears that this is possible. You need to set the StartAngle of the area:
    var area = radChartView1.Area as PolarArea;
    area.StartAngle = 90;

    Do not hesitate to contact us if you have other questions.
     
    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Daniel
    Daniel avatar
    5 posts
    Member since:
    Jan 2018

    Posted 17 Apr 2018 in reply to Dimitar Link to this post

    Works great, thanks a lot

    Cheers

    Dan

Back to Top