Adding XDate and setting graph