Hi. generally XRD can be done on sample size bigger than beam size or typically > 100 um. I hardly think doping in graphene can be probed by regular XRD, but still this following paper may help you: https://www.uvsor.ims.ac.jp/paper/2013/A.%20Ruammaitree282_2013_297.pdf