Added legend and updated date formats