Previous Page | Next Page

The GCHART Procedure

Example 13: Creating a Detail Pie Chart


Procedure Features:

PIE statement options:

DETAIL=

DETAIL_PERCENT=

DETAIL_SLICE=

DETAIL_THRESHOLD=

DETAIL_VALUE=

LEGEND

Other features:

GOPTIONS statement option:

BORDER

Sample library member: GCHDTPIE

[GCHDTPIE-Creating a simple detail pie chart]

This example produces a normal pie chart with a detail pie overlay. The pie chart shows the percentage of vehicle types produced worldwide. The detail pie overlay shows the percentage of DRIVETRAINS for each vehicle TYPE.

 Note about code
goptions reset=all border;
 Note about code
title "Types of Vehicles Produced Worldwide (Details)";
footnote1 j=r "GCHDTPIE";
 Note about code
proc gchart data=sashelp.cars;
pie type / detail=drivetrain
detail_percent=best
detail_value=none
detail_slice=best
detail_threshold=2
legend
;
run;
quit; 

Previous Page | Next Page | Top of Page