RadChart Axis-Y ActualWidth

4 posts, 1 answers
  1. Michael
    Michael avatar
    39 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
    39 posts
    Member since:
    Jan 2012

    Posted 04 Sep 2012 Link to this post

    Edit:
    So you can imagine it better a picture:

  3. Answer
    Nikolay
    Admin
    Nikolay avatar
    395 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.

  4. Michael
    Michael avatar
    39 posts
    Member since:
    Jan 2012

    Posted 05 Sep 2012 Link to this post

    Thx very much!

    That solved my problem!
Back to Top