Declare the height of the bar chart into dimens.xml and reference it.