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

Sparkline databound to RadDomainDataSource

1 Answer 47 Views
Sparkline
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hank
Top achievements
Rank 1
Hank asked on 17 May 2012, 03:17 AM
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,
Hank

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 21 May 2012, 08:57 AM
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,
Yavor
the Telerik team

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

Tags
Sparkline
Asked by
Hank
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or