Chart displaying and data formatted