Render Excel Chart in WPF application - wpf

I have created couple of TFS Report in Excel by right clicking a query (Bugs query) and selecting "Create report in Microsoft excel" option. By doing this it has created a Graph.
I want to embed this Graph in WPF application.
As this is a dynamic report which will change in time as the numbers of bugs gets fixed during the day graph will change.
So it it possible for me to integrate a TFS report graph in to WPF application?

In essence you are asking how to embed excel in a wpf application like mentioned on http://www.codeproject.com/KB/office/Embedding_Excel.aspx.
However, using the reports and/or filling the wpf graphs using the tfs oom will be a lot faster to build an easier to maintain. It might even be wiser to just drop it on the SharePoint server (if it runs excel services) and serving it from the browser (instead of a wpf app) or as a dasboard.

Related

Google datastudio : chart style

Today we have many google data studio reports, we manually style the report charts by using chart options like tableheader, tablefooter, ...).
Someone in the company asked me if we can reuse styling over reports instead of defining it each time again. By using this colab notebook (https://codelabs.developers.google.com/codelabs/community-visualization#0) we could build a simple bar chart with a CSS. However we do not have the need to build the chart by our self (community visualization with defined java script).
My question
Is it possible to define the style of the 'out of the box' google data studio reports in a way that it is reusable over different reports instead of doing it manually into each report? According my investigation I would conclude that this is not possible, however I would like to be sure before I communicate this into the company.
Thx

SSRS. Reports seem corrupted within the report viewer

I have a WPF application using server side SSRS reports. I'm using the WPF WinFormsHost control, embedding the winforms report viewer control, to display the reports.
On about 20 development pc's and client pc's everthing works ok. The problem is that in a new clients office, on 2 pc's only, the reports seem to be corrupted when viewing within the report viewer. (They print out fine)
Table data is ok, but header data field values are missing. Has anybody experienced this? I'm at a complete loss as to why on these 2 machines data seems to be missing in the report viewer.
Any help would be greatly appreciated.
The Winforms Report Viewer control is not designed to be embedded inside WPF application. You can use WindowsFormsHost Winforms control to host Report Viewer inside your WPF Application, but the data binding of the ReportViewer has to be handled programmatically, because the ReportViewer control will not have knowledge of WPF's Window datasource at all.
This is a sample walkthrough article of embedding Windows Forms control inside WPF: https://msdn.microsoft.com/en-us/library/ms750944.aspx

Reuse of Lightswitch visual query designer

We are building application with ability for users to extract data without typing SQL queries. LightSwitch query designer looks user friendly.
Is it possible to reuse (embed) LightSwitch visual query designer into .NET application?
No, you can not reuse that editor (which is part of visual studio) in the Silverlight or HTML app.
However, there's a filter control extension available that might fulfill the same needs. See Michael's post for some screenshots & guidelines: http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/22/Using-The-LightSwitch-Filter-Extension.aspx
Keep rocking LS!

Business Objects Web Intelligence-style reporting in a Winform app. Is this possible?

I have a WinForm app that displays results in a Gridview control. If a user right mouse clicks on a row, he can then, from a popup menu, select a command to perform on the row much like windows File Explorer.
But now I want to be able to give the user the ability to construct a filter so that he can control which rows are displayed in the grid w/o effecting the functionality of the application. I would also like the user to be able to select the columns/fields that he sees in the grid.
For the basis of this question, let's assume that the data displayed in grid comes from a single table.
business Objects' Web Intelligence and Desktop Intelligence applications give me very flexible and powerful reporting capabilities, but I want to integrate this capability into my WinForm application.
Does Business Objects, or maybe Crystal Reports provide this sort of functionality? I can construct my own query builder but I'd rather not reinvent sliced bread.
I like developerexpres xtragrid.
Its has filtering, column customizing etc.
If you want pivottables/olap like tables they have XtraPivotgrid
Usually the filtering is clientside but they have the possibilitie to generate serverside queries..

ReportViewer - LocalReport - Merge reports?

I'm using ReportViewer WinForms, and since it is no easy way to create an coversheet, then I wonder, is it possible to render two reports and have them concatenated?, so they appear as one report?
If I was to print only, then I could execute two reports after each other, but since the user want to see the report before printing (you know, no environment waste here) then they have to appear in the same viewer.
OR, is there other ways of creating coversheets?
Today I use an subreport, but there are some issues with margins etc. which is not easy to fix.
To clarify, we are talking about
ReportViewer using RDLC files, no
Crystal Reports involved.
Do you need to display the 2 reports as 1 in the reportViewer control or would having them both exported to PDF and showing a single PDF containing both reports be satisfactory?
I was looking for that but using the Web ReportViewer and found examples exporting the reports to several PDFs, then concatenating the PDFs into 1 using PDFtk (free)
Blog post about using PDFtk and Reporting Services
Multiple RDLC reports displayed at the same time
PDFtk web site
I've created a report that sounds like what you are attempting to do...first to clarify, I'm going to guess your using Crystal Reports within VS2005/2008.
If that's the case, all you need to do in the main report is create an additional section after your section that contains the "Cover Sheet" layout/data. In the section expert for the "Cover Sheet" section (in layout view, right click on section header bar, pick section expert in pop up menu..), check off the "New Page After" option.
Edit: After your update, I see you are using RDLC reports, and from my limited exposure to those, I can't recall an easy way to get to where you want to be. Though I'm pretty sure you may be able to pass multiple reports to the same report viewer in code.

Resources