even if the xaxis is specified as 'date' type, your shapes must have x-values of millisecond integers, not date objects (unlike plots).