Datetime apex chart. window . you should use the formatter funct