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

Sparklines in book

4 Answers 34 Views
Book
This is a migrated thread and some comments may be shown as answers.
Claude
Top achievements
Rank 1
Claude asked on 19 Nov 2012, 04:15 PM
Just a beginner on SL and have a couple of questions.

I want to organize several sparklines on about 5 different pages.  Each page will have 6+ sparklines. 
1. Is this too much for a Book as far as recsources go and speed.
2.  How do you go about laying out a page to accept the sparlines.
3.  I want to link each page, via a button to go to a full chartview for detailed analysis of the data.

4 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 22 Nov 2012, 04:05 PM
Hi Claude,

Our RadSparkLine is designed to be a light-weigh and resource saving control and because of this you should be able to show many lines on one page of our RadBook control. For more information about the RadSparkLine control and it's features you can read this article and to see some usage of it you can take a look of our online demonstration project.

On the other hand our RadBook control will handle visualizing these lines and will successfully apply some user-friendly transformations. For more information about this control you can read this article and also you can take a look at our demo project.

For your last question I'll need more information about your scenario in order to suggest the best approach. Are you going to use data-binding scenario or you will load the data in XAML? Do you want to display the Maximized chart in a new window or you want to reload the same?

In the meantime, I attached a sample solution demonstrating how to integrate the Book and Sparkline controls, so can you please take a look at it and let me know if this approach fits your needs.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Claude
Top achievements
Rank 1
answered on 25 Nov 2012, 12:50 AM
Thank you very much.   To answers a couple of your questions.  

I will be binding to a SQL Server DB. 

The maximized chart will come from the same datasource and using radChartView will have zooming, scrolling etc with a lot of check boxes.  So when I click on a sparkline, I want to open up another window for more detailed analysis of the data. 
My overall plan is to have radTiles on the main page that will be linked to the Main table in the DB. The user can CRUD the tiles.  Clicking on a tile will open up the radBook for that piece of equipment.  I want the radBook to look like an "engineers notebook" that they can page through to get an overview of what is going on and if they want to do a more detailed analysis go to the chart.  I will also be adding some other data crunching and reporting features. 
0
Claude
Top achievements
Rank 1
answered on 25 Nov 2012, 11:15 PM
One more quick question in general.  How come when I complie and run a SL program in VS2010 it rarely loads compeletely and I have to keep trying?
0
Pavel R. Pavlov
Telerik team
answered on 29 Nov 2012, 07:40 AM
Hi Claude,

Thank you for providing me with more information about your scenario. Now I understand your goal. In order to achieve it you can create a separate UserControl which will visualize the detailed RadChartView. You also can set the DataContext of the control by passing a CommandParameter through a Button. I have implemented this approach in the attached project. For simplicity I am using a RadSparkLine control with the same DataContext in the separate UserControl. Please take a look at the attached project and let me know if it works for you. Don't hesitate to ask if you have any other questions.
We are not sure why you experience performance issues with your application. This might be memory issues (leaks), slow loading of services, DB data, complex methods used in code etc. You can take a look at this blog post showing how to reduce your .Xap size.
Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Book
Asked by
Claude
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Claude
Top achievements
Rank 1
Share this question
or