Angular2-Highcharts: Pie chart size based on the width of the panel
问题 I have created a Pie chart and I am placing this Pie chart inside a panel. My panel width can be 600 or 400 depending on the user settings. When the size is 600 Pie and the legend is displayed properly. But when it is 400, the legend is displayed outside of the panel. Is there a way to reduce the size of the pie in that case, also the legend can be displayed at the bottom if the size is not sufficient. My plnkr https://plnkr.co/edit/yzXLz7AIDoWa1Pzxxl4k?p=preview My plot options plotOptions: