I have requirement to change a chart height dynamically based on parent div\'s size. I\'ve used a boolean isHalf to determine if the chart height should be at 50% or 90%. Th