fixed chart bug , show bar point and add pie chart