Sort the data set for the graphs of production by country.
The data must be sorted in order of the BY variable before running PROC GCHART with BY-group processing.
proc sort data=newgrain out=country; by country; run;