The box (entropy) dimension of graphs of real valued functions over d-dimensional cube is investigated. Classes of functions with given lower and upper box dimension are described in terms of simple criteria for the coefficients of Schauder and Haar bases (wavelets) expansions.