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

RadChart Axis-Y ActualWidth

3 Answers 46 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Iron
Michael asked on 04 Sep 2012, 03:00 PM
Hy,

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

Cheers Mike

3 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 04 Sep 2012, 03:07 PM
Edit:
So you can imagine it better a picture:

0
Accepted
Nikolay
Telerik team
answered on 05 Sep 2012, 09:56 AM
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.

0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 05 Sep 2012, 01:52 PM
Thx very much!

That solved my problem!
Tags
Chart
Asked by
Michael
Top achievements
Rank 1
Veteran
Iron
Answers by
Michael
Top achievements
Rank 1
Veteran
Iron
Nikolay
Telerik team
Share this question
or