all groups > sql server reporting services > january 2005 >
You're in the

sql server reporting services

group:

Charts - width of columns


Charts - width of columns PD
1/7/2005 1:59:08 PM
sql server reporting services:
Is there a way to control the width of the columns that are produced when
Re: Charts - width of columns Robert Bruckner [MSFT]
1/15/2005 5:17:18 PM
Yes there is a way to control the width of columns and bars. The property is
called "PointWidth". However, the property is only supported on the report
server (and designer preview).

What you need to do is:
* open your RDL file in a text / xml-editor or in "code view" of designer
* search for the chart (<chart name="...">)
* add a PointWidth value between 0 and 100 (by default it is 55)

Example:
<Chart Name="Sales">
<PointWidth>30</PointWidth>
...
</Chart>

See also:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsrdl/htm/rsp_ref_rdl_elements_fp_87lg.asp

Note: PointWidth is a constant value, so if you have an unknown number of
categories at runtime you might want to use two identical charts (one with
regular PointWidth, the other with a small PointWidth) and based on a
condition (number of categories) always hide one chart.

--
Robert M. Bruckner
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

AddThis Social Bookmark Button