SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 42316: Line legend options might apply to the bar legend for the Bar-Line Chart task in SAS® Enterprise Guide®

DetailsHotfixAboutRate It

Line legend options might apply to the bar legend instead of to the line legend when using the Bar-Line Chart task in SAS Enterprise Guide. This will only occur when there is no Stack column assigned.

To circumvent the problem, from the Bar-Line Chart task, edit the task code by using Preview Code ► Insert Code, then insert a LEGEND2 statement similar to the one shown below. You also can add more LEGEND statement options, and then add the LEGEND=LEGEND2 option on the BAR statement as shown below.

Legend1 FRAME LABEL=("My LINE Legend");

/* Start of custom user code. */
Legend2 FRAME LABEL=("My BAR Legend");
/* End of custom user code. */


PROC GBARLINE DATA=WORK.SORTTempTableSorted;
BAR Age /

/* Start of custom user code. */
LEGEND=Legend2
/* End of custom user code. */

SUMVAR=Height FRAME TYPE=SUM;

PLOT / SUMVAR=Weight TYPE=SUM LEGEND=LEGEND1;


Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x644.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition4.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition4.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 Standard Edition4.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows Server 2003 for x644.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows Server 20084.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows Server 2008 for x644.34.3059.2 TS2M39.2 TS2M3
Microsoft Windows XP Professional4.34.3059.2 TS2M39.2 TS2M3
Windows 7 Enterprise 32 bit4.34.3059.2 TS2M39.2 TS2M3
Windows 7 Enterprise x644.34.3059.2 TS2M39.2 TS2M3
Windows 7 Home Premium 32 bit4.34.3059.2 TS2M39.2 TS2M3
Windows 7 Home Premium x644.34.3059.2 TS2M39.2 TS2M3
Windows 7 Professional 32 bit4.34.3059.2 TS2M39.2 TS2M3
Windows 7 Professional x644.34.3059.2 TS2M39.2 TS2M3
Windows 7 Ultimate 32 bit4.34.3059.2 TS2M39.2 TS2M3
Windows 7 Ultimate x644.34.3059.2 TS2M39.2 TS2M3
Windows Vista4.34.3059.2 TS2M39.2 TS2M3
Windows Vista for x644.34.3059.2 TS2M39.2 TS2M3
* 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.