문제

I am setting the height of a chart through javascript inside html of text item. However, the grid row height remains constant and therefore, sometimes there is too much white space

I want to adjsut row height according to chart height. Please help me

Regards Arif

도움이 되었습니까?

해결책

You should just leave the height property of the row to blank, it will automatically be adjusted to the size of the content, in your case the height of the chart + your margins/paddings. You should also pay attention if the grid itself has a height defined.

As soon as an element has a dynamic height, most of the time we have to remove "height" properties defined in its containers

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top