On chromatic equivalence of graphs