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

Rad Chart Plot Area Border

1 Answer 99 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anitha
Top achievements
Rank 1
Anitha asked on 29 May 2012, 12:55 PM
Hi all,

         I am using Radchart in my application. I am able to get the border for entire chart. But i need the border only for Plot Area.
I tried

 

 

 

<telerik:RadChart x:Name="chart" Margin="3" BorderThickness="1" BorderBrush="Black"

 

 

 

FontSize="10" FontFamily="Arial" Opacity="1" Width="Auto" Height="298" >

 

 

 

 

<PlotArea>

 

 

 

 

<XAxis>

 

 

 

 

<Appearance Color="Red" Width="2" />

 

 

 

 

</XAxis>

 

 

 

 

<Appearance>

 

 

 

 

<Border Visible="False" />

 

 

 

 

</Appearance>

 

 

 

 

</PlotArea>

But I am getting the following error:
the type 'Plot Area' was not found. verify that you are not missing an assembly reference and that all referenced assemblies have been built.

Thanks in Advance.

 

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 01 Jun 2012, 11:08 AM
Hi Anitha,

I noticed that you are trying to use some of the elements and properties of the ASP.NET RadChart in the Silverlight RadChart. Please note that even though they have the same name, they are quite different in their design, functionality and architecture.
For example the Silverlight RadChart (and its  WPF counterpart) are made for the XAML technology in which the control is rendered on the user computer and not on the server-side like it was the case with ASP.NET. That's why there is no straight-forward migration path.

I strongly advice you to invest time in exploring the quirks of the XAML controls in order to eliminate any difficulties you may encounter in your projects. A great starting point is this article which examines the RadChart visual structure. After that you want to look at how to tweak its appearance here.

Regards,
Petar Kirov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Anitha
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or