RadChart: Actual width of AxisX

2 posts, 0 answers
  1. Dhaval patel
    Dhaval patel avatar
    19 posts
    Member since:
    Dec 2009

    Posted 03 Nov 2011 Link to this post


    Is it possible to get ActualWidth of AxisX?
    we can easily find ActualWidth  of Chart area by RadChart1.DefaultView.ChartArea.ActualWidth.
    But unable to find ActualWidth   of AxisX.

    Is it possible re-template of item label AxisX?

    Thanks in advance.

    Dhaval patel.

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 07 Nov 2011 Link to this post

    Hi Dhaval Patel,
    Straight to your questions:
    1. Currently, there is no straight forward way to get the ActualWidth of the x-axis. In case you explain in detail what exactly you are trying to achieve, we may be able to suggest a way to achieve it.
    2. You, you can re-template the label. Again, as you have not explained what exactly you want to achieve, I cannot suggest a concrete approach. You can, however, refer to the following help topics:
      1. Specifying the labels or a format expression for the labels:
        1. http://www.telerik.com/help/wpf/radchart-features-axes-labels.html
        2. http://www.telerik.com/help/wpf/radchart-features-format-expressions.html
      2. Re-templating the labels: http://www.telerik.com/help/wpf/radchart-styling-and-appearance-styling-axis-item-label.html

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top