Test the new device entry. The TARGET= option specifies the new device. The GDEVICE0 libref is already defined, so SAS/GRAPH searches GDEVICE0 for the specified device entry. The GHART procedure generates a pie chart with the new color list.


goptions target=mypscol;
proc gchart data=sashelp.class; 
  pie age/discrete noheading;
 run;
quit;