Sparkline databound to RadDomainDataSource

2 posts, 0 answers
  1. Hank
    Hank avatar
    3 posts
    Member since:
    Feb 2012

    Posted 16 May 2012 Link to this post

    I have searched and could not find a demo/how to for taking a single table, generate entity, add domain service, add sparkline and add a RadDomainDataSource to set x and y value paths. I would think this could be done...but have not found anything. Any help would be greatly appreciated!
    Best regards,
  2. Yavor
    Yavor avatar
    401 posts

    Posted 21 May 2012 Link to this post

    Hi Hank,

    You can find getting started information about the RadDomainDataSource here in our online help. Following this tutorial will help you create your own RIA service and a RadDomainDataSource client that is consuming it. You can use a RadGridView to visualize your data returned by the service.

    In order for the RadSparkline to work correctly it needs a collection of data (IEnumerable). This can be a simple list of integers or doubles, or a list of business objects that the sparklines extract data from. It is up to you to prepare your data for your sparkline. More information on sparkline data binding can be found here. We have an online demo that demonstrates how you can visualize a sparkline into a RadGridView cell here.

    Hope this helps!

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top