I use jQuery to set dynamic height to the chart, and it starts working as expected. But it is still interesting if charts have build in functionality for set up dynamic height?
The solution that you've implemented is the correct one. The Chart doesn't have a built-in option to make the height dynamic.
You can make the chart pannable and provide a starting and ending value for the initial categories. This way you can "scroll" the chart up and down to view a portion of the categories, instead of seeing all of them at once.