On the p chart

i confused in this subject guys!!

On the p chart, what process variable is plotted?
1-fraction of defective units in the sample
2- sample means
3-number of defects in a given unit of process output
4- range of the process variable observed in a sample

thank you for answering