SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42954: SAS® Web Report Studio might not pass prompt values from a linked graph to a target report if the graph is not large enough to display the legend

DetailsHotfixAboutRate It

If a graph in SAS Web Report Studio is not large enough to display the legend, the legend might be removed from the display. This action is taken instead of not displaying the graph at all. (For more information about this behavior, see SAS Note 39815.)

However, if the graph includes a link that passes prompt values to a target report and the legend is not displayed, then the prompt values might not pass correctly to the target report. This problem is most likely to occur for graphs in synchronized OLAP-based reports when the graph legend has been fully expanded because of expansion actions taken on a crosstabulation table.

As a workaround to pass the prompt values, you must resize the graph so that the legend is displayed. In order to do this, you might need to increase the maximum size for graphs at the application level.

Note: If you make the graph too big, you might have printing issues because SAS Web Report Studio will reduce the graph to fit the paper orientation. Depending on the paper size, the text on the graph might be very tiny.

Versions 4.2 and 4.3

Following are the steps to increase the maximum size for graphs at the application level for SAS Web Report Studio 4.2 and 4.3.

  1. In SAS® Management Console, log in with a user who has access to the Configuration Manager plug-in.
  2. Under the Configuration Manager, right-click on Web Report Studio 4.x to open the Web Report Studio 4.x Properties dialog box.
  3. Click the Advanced tab.
  4. Click Add to open the Define New Property dialog box.
    • For the Property Name, enter
    • wrs.graph.maximum.height
    • For the Property Value, enter the new maximum height.
    • Click OK.
  5. Click Add again to open the Define New Property dialog box.
    • For the Property Name, enter
    • wrs.graph.maximum.width
    • For the Property Value, enter the new maximum width.
  6. Click OK twice to exit both dialog boxes and save the changes.
  7. Restart your Web application server to enforce the new setting.

Version 3.1

To make this change in version 3.1, you must modify the LocalProperties.xml file. If you do not have a LocalProperties.xml file, see SAS Note 32858.

Open the LocalProperties.xml file in a text editor. Before the closing </properties> tag, paste the following content, specifying your preferred minimum and maximum values.

<wrs.graph>
    <minimum>
      <width>  200 </width> <height> 150 </height>
    </minimum>
    <maximum>
      <width> 1200 </width> <height> 900 </height>
    </maximum>
</wrs.graph>

Restart your Web application server to enforce the new setting.

Hot Fix for Version 4.3

Click the Hot Fix tab in this note to access the hot fix for this issue. After the hot fix is applied to version 4.3, the values should pass as expected without requiring a change to the maximum graph size.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Web Report StudioMicrosoft Windows 2000 Advanced Server3.19.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server3.19.1 TS1M3 SP4
Microsoft Windows 2000 Server3.19.1 TS1M3 SP4
Microsoft Windows 2000 Professional3.19.1 TS1M3 SP4
Microsoft Windows NT Workstation3.19.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition3.14.31_M19.1 TS1M3 SP49.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition3.14.31_M19.1 TS1M3 SP49.3 TS1M1
Microsoft Windows Server 2003 Standard Edition3.14.31_M19.1 TS1M3 SP49.3 TS1M1
Microsoft Windows XP Professional3.14.31_M19.1 TS1M3 SP49.3 TS1M1
Windows Vista3.14.31_M19.1 TS1M3 SP49.3 TS1M1
Windows Vista for x643.14.31_M19.1 TS1M3 SP49.3 TS1M1
64-bit Enabled AIX3.14.31_M19.1 TS1M3 SP49.3 TS1M1
64-bit Enabled Solaris3.14.31_M19.1 TS1M3 SP49.3 TS1M1
HP-UX IPF3.14.31_M19.1 TS1M3 SP49.3 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.