Rad Chart Plot Area Border

2 posts, 0 answers
  1. Anitha
    Anitha avatar
    33 posts
    Member since:
    Apr 2012

    Posted 29 May 2012 Link to this post

    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.

     

  2. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 01 Jun 2012 Link to this post

    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 >>
  3. DevCraft banner
Back to Top