RadChart Axis-Y ActualWidth

4 posts, 1 answers
  1. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 04 Sep 2012 Link to this post

    Hy,

    is there a posibility to get the ActualWidth the Axis-Y from a RadChart.

    Cheers Mike
  2. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 04 Sep 2012 Link to this post

    Edit:
    So you can imagine it better a picture:

  3. DevCraft banner
  4. Answer
    Nikolay
    Admin
    Nikolay avatar
    386 posts

    Posted 05 Sep 2012 Link to this post

    Hello Mike,

    You can get the width of the axis in the following manner :
    var _YAxisWidth = this.RadChart1.DefaultView.ChartArea.ChildrenOfType<AxisY2D>().First().ActualWidth;

    Hope this helps.

    Regards,
    Nikolay
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 05 Sep 2012 Link to this post

    Thx very much!

    That solved my problem!
Back to Top