pie chart calculation  bug repaired added summary status calculation