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

Accessing custom ChartArea

1 Answer 47 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Nidhi
Top achievements
Rank 1
Nidhi asked on 21 Sep 2011, 10:15 AM
Hi All,

I have set UseDefaultLayout property to false and created a custom layout. I have created a chart area "ChartArea1". I want to access this chart area in code behind.

To access default chart area, there is a property like.
this.RadChart.DefaultView.ChartArea

But to access the custom Chart Area in code behind. I didn't find any property for the same.

Can you please help us in it.

Regards,
Nidhi


1 Answer, 1 is accepted

Sort by
0
Bartholomeo Rocca
Top achievements
Rank 1
answered on 21 Sep 2011, 12:41 PM
Hello Nidhi,

If I understand you correctly, you should be able to access the chart area in code behind by its x:Name i.e. just ChartArea1.


Greetings,
Bart.
Tags
Chart
Asked by
Nidhi
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Share this question
or