This is a migrated thread and some comments may be shown as answers.

RadChart: Actual width of AxisX

1 Answer 60 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dhaval patel
Top achievements
Rank 1
Dhaval patel asked on 03 Nov 2011, 06:45 AM
Hello,

1)
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.

2)
Is it possible re-template of item label AxisX?



Thanks in advance.

Regards,
Dhaval patel.

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 07 Nov 2011, 01:03 PM
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,
Tsvetie
the Telerik team

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

Tags
Chart
Asked by
Dhaval patel
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or