height property defined twice for bar chart