Geometrical and chemical dependence of K-shell X-ray features