Inhomogeneous structure of the solar chromosphere from Lyman-continuum data