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

[Solved] Legend problems

1 Answer 118 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andy Macourek
Top achievements
Rank 1
Andy Macourek asked on 05 Nov 2012, 06:18 PM
I am having problems getting a legend to work.  I have my chart control working fine. My project is set up for as reference to "RadControls for Windows8" 

The reference at the top is:

     xmlns:telerik="using:Telerik.UI.Xaml.Controls.Chart"


I have tried to add

     xmlns:telerikPrimitives="using:Telerik.UI.Xaml.Primitives"


and

    <telerikPrimitives:RadLegendControl x:Name="Legend">


But this errors out with "The name "RadLegendControl" does not exist in the namespace "using:Telerik.UI.Xaml.Primitives".  What am I doing wrong?

Please do not ask to look at the QSF sample.  While it has all of the controls, it is a very poor for using as examples as the controls all reference other controls which reference another and so on.  It makes it hard to use as a reference.  The samples for earlier products were really good at providing samples specific to each control and situation.

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 06 Nov 2012, 01:10 PM
Hello, Andy

Thank you for contacting us and for your question.

In order to use RadLegendControl you have to add the following reference:

xmlns:telerikPrimitives="using:Telerik.UI.Xaml.Controls.Primitives"

Further information about the legend control may be found here:

http://www.telerik.com/help/windows-8-xaml/radlegendcontrol-overview1.html

I hope this information is useful. Let me know if I can assist you any further.

 

Kind regards,
Ivaylo Gergov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart for XAML
Asked by
Andy Macourek
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or