Groups | Blog | Home
all groups > sql server reporting services > october 2005 >

sql server reporting services : Size Chart Dynamically in RS2005


Jason L Lind
10/31/2005 12:12:02 PM
Hi, I am trying to size a chart dynamically with respect to the number of
rows in the data set it is rendering from (it's a bar chart) so that the
graphic will render appropriatley.

Is there any way to do this?

Thank you,
Robert Bruckner [MSFT]
10/31/2005 6:50:08 PM
Sorry, dynamically growing charts is not supported right now. One workaround
that comes in mind is to duplicate your chart with various width/height
settings, overlay them and use the Visibility.Hidden property on the charts
with expressions to conditionally show only one of them for a particular
range of bars e.g. display a small chart if the total number of bars is
lower than 10, etc.
Another option is to use Drillthrough on the datapoints. The top-level chart
would probably only show the TOP 10 items/categories. The drillthrough
report could then show the details for a particular category.

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


[quoted text, click to view]

Jason L Lind
10/31/2005 6:58:03 PM
I found a solution:
http://www.livejournal.com/users/jlind0/

[quoted text, click to view]
Robert Bruckner [MSFT]
10/31/2005 8:35:55 PM
Thanks for sharing your solution! This is certainly an elegant solution,
however with the minor drawback that it is not generally applicable (e.g.
cannot be used for execution snapshots). But it may be the perfect or
good-enough solution for several scenarios. :)

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

[quoted text, click to view]

bobfoc
11/1/2005 8:48:03 AM
Sorry i maybe being stupid but i can't see a solution on this link? This is
something that may realy help me so if somecould point me towards the
solution on the link that Jason provided that would be great

[quoted text, click to view]
jcomba
12/14/2005 10:39:02 PM
I would really love to know how you worked this out, but I don't see anything
relevant at this link. I'm facing a sizing issue wih a chart that has to
handle a great variety of rows under different conditions. Can you please
share your discovery?

[quoted text, click to view]
AddThis Social Bookmark Button