fixed formatting for pi chart