How to add Sparkline control thorough VS 2010

4 posts, 0 answers
  1. Sunil
    Sunil avatar
    14 posts
    Member since:
    Sep 2012

    Posted 19 Jan 2011 Link to this post

    I am not using Expression Blend.
    How to add Sparkline control thorough VS 2010 DotNet ?
    Which assemblies are reqired to add?
    please suggest.....
  2. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 21 Jan 2011 Link to this post

    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>>
  3. DevCraft banner
  4. sunita
    sunita avatar
    9 posts
    Member since:
    Feb 2011

    Posted 23 Mar 2011 Link to this post

    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

  5. Yavor
    Admin
    Yavor avatar
    401 posts

    Posted 25 Mar 2011 Link to this post

    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
Back to Top