Repeating graph in VB.net 2005 Report viewer

S

Steve

Hi ALl

Using VB.net 2005 to create reports using MS Report Viewer

I create a .rdlc file with a graph component on it

I pass it a data table consisting of each product sold and the sum(qty)

When the number of products gets greater than approx 40, the graph is
bunched up and looks terrible

Is there any way to have the report graph object repeat the graphs as
additional pages, as the Table object does
e.g page 1 has products 1 to 40, page 2 has products 41 to 80 etc

OR

Is there a way to pass the data to the report in chunks of 40 rows and still
have the 1 report but multiple pages


Regards
Steve
 
S

Steven Cheng[MSFT]

Hi Steve,

From your description, you're using the VS 2005 ReportViewer control to
display some RDLC report, however, you encountered some problems display a
image on the report, correct?

I'm not sure whether your applicaiton is winform or web, but based on my
understanding, for RDLC client report, you can set image via the following
means:

** use image report item

** set background image for a certain report item such as List, Table or
the entire report.

For your scenario, is it doable that you set the image as a background
image of the container report item? For report item that will extend
multiple pages, the background image should also extend to all the pages.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
 
S

Steve

Hi Steven

It is a winform project. Sorry

It is Graph object I am sending data to, on the .rdlc file, to show a bar
graph of products and their total qty sales
x axis is Product, y axis is qty sales

I need to be able to repeat the graph on multiple pages of the report if the
number of Products is > 40, otherwise the graph crunches the Product names
up making them illegible

First Graph shows Products 1 to 40
2nd graph shows Products 41 to 80
and so on

Will your suggestion still apply??

Regards
Steve
 
S

Steven Cheng[MSFT]

Hi Steve,

Thanks for your reply.

I originally misunderstood the graphic object you mentioned( I opined that
it is an image). So the graphic object is also an report item(a bar chart
on the report). If so, I think to make a chart (report Item) repeat on a
report(according to the data supplied), you should use a List instead of
Table. Based on my test, the List ReportItem can contains other reportitem
such as Chart. Thus, you can use List to display the main report records
and also include a barchart in the List. And this barchart will repeat in
the list for every record. Also, by default, the chart (in the list) will
be displayed for each record, thus, it may also require you to investigate
more on how you will define the paging(the group you'll define for paging )

This is the possible approach we may try so far. How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Subject: Re: Repeating graph in VB.net 2005 Report viewer
Date: Thu, 7 Feb 2008 19:48:44 +0900
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top