all groups > sql server reporting services > august 2004 >
You're in the

sql server reporting services

group:

Charts, aligning plot area vertically



Charts, aligning plot area vertically Tibor Karaszi
8/23/2004 4:39:21 PM
sql server reporting services: Say you have a few charts which you want to align vertically. Both left and
right side of the charts should be at same vertical position. This is
especially important if you have same measurement and scale for the x-axis
for two charts and want to compare values across two diagrams. I have not
found a way to get vertical aligment (yet).

The area for the plot area seems to be determined by the text size needed to
print the y-axis labels. And this is of course dependent on the actual data.

Apparently, the chart component is licensed from www.dundas.com. On that
site, I found a white paper suggesting you can do this using an
AlignWithChartArea property. However, I can't find such in RD. Am I correct
in assuming that this feature is missing from RD?

Any ideas on how to accomplish this?

TIA
Tibor Karaszi
SQL Server MVP

Re: Charts, aligning plot area vertically Ravi Mumulla (Microsoft)
8/24/2004 8:32:01 AM
You could make the charts the same size and do the alignment using Layout
toolbar in the Designer (Align Left/Align Right toolbuttons.)

--
Ravi Mumulla (Microsoft)
SQL Server Reporting Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote in
message news:uzkCwqaiEHA.2848@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

Re: Charts, aligning plot area vertically Tibor Karaszi
8/24/2004 6:37:33 PM
Yes, but unfortunately this applies to the control per se. I.e., the Chart Area. What I need to be aligned is
the *Plot Area*.

The size of the plot area seem to be dynamically adjusted based on the text to fill in to the left/right of
the diagram (the part which is in the Chart Area but isn't the Plot Area). This text is drawn from the data,
so I cannot know in advance how long strings it will be.

(This is so I can match scales (vertical lines) across several diagrams.)

Thanks
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/


[quoted text, click to view]

AddThis Social Bookmark Button