creating var xScaleDateM n xScaleDateC