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

How to add Sparkline control thorough VS 2010

3 Answers 138 Views
Sparkline
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 2
Sunil asked on 19 Jan 2011, 08:54 AM
I am not using Expression Blend.
How to add Sparkline control thorough VS 2010 DotNet ?
Which assemblies are reqired to add?
please suggest.....

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 21 Jan 2011, 12:56 PM
Hello sunil,

When you install RadControls for Silverlight the installer adds an icon for the sparklines in the Visual Studio toolbox. All you have to do is drag a sparkline from the toolbox and drop in in your application. This will add all needed assemblies to your project and also proper namespace declarations to your XAML.

Alternatively you can do this on your own by adding reference to this assemblies:
  1. Telerik.Windows.Controls.DataVisualization
  2. Telerik.Windows.Data
  3. Telerik.Windows.Controls
Next add a namespace declaration in the page where you want your sparklines placed:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

Finally add the sparklines by using the namespace above as a prefix:
<telerik:RadLinearSparkline Name="Sparkline" />

You can find more informations on sparklines in our help system here.

Hope this helps!

All the best,
Yavor Ivanov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
sunita
Top achievements
Rank 1
answered on 23 Mar 2011, 07:58 AM

hello ,

 can you tell me which version ( Telerik.Windows.Controls.DataVisualization) i need to use for sparkline control in my project. Currenlty i am using 2010.2.714.1040 in this version it is not allowing me to add telerik:RadLinearSparkline. do i need to upgrade version of it.here is the code i have added.

Thanks
Sunita

0
Yavor
Telerik team
answered on 25 Mar 2011, 10:07 AM
Hello sunita,

RadSparklines are added in Q3, 2010. You can download a free trial of the latest binaries and try them out.

Best wishes,
Yavor Ivanov
the Telerik team
Tags
Sparkline
Asked by
Sunil
Top achievements
Rank 2
Answers by
Yavor
Telerik team
sunita
Top achievements
Rank 1
Share this question
or