assign height to chart canvas elements