0

How do I add CrossHatched pattern to a pie chart in SaS (as simple as possible). I'm trying to read up on the pattern statement but I don't know how to just add the crosshatched pattern to my existing pie chart. So far the program looks like this.

proc gchart data=orion.personl;
   pie JobCode / sumvar = salary type=mean explode="TA3";
   where JobCode in ('TA1', 'TA2', 'TA3');
run;

and I just need to add the crosshatched pattern to it. Please help

Thanks.

Netloh
  • 4,338
  • 4
  • 25
  • 38
user3435733
  • 19
  • 1
  • 1
  • 3

1 Answers1

0

Would specifying the fill pattern work:

proc gchart data=orion.personl;
   pie JobCode / sumvar = salary type=mean explode="TA3" fill=x;
   where JobCode in ('TA1', 'TA2', 'TA3');
run;

Where X rotates a single hatch pattern through the list of colors defined in the current style.

jaymarvels
  • 436
  • 1
  • 8
  • 21