My initial configuration for highcharts looks like this:-
function getInitialHighChartsConfig(chartType) {
return {
credits: false,
chart: {
type: chartType,
height: 325,
},
title: {
text: '',
useHTML: true,
},
yAxis: {
title: {
text: '',
},
allowDecimals: false,
},
xAxis: {
title: {
text: '',
},
allowDecimals: false,
},
plotOptions: {},
series: {},
};
}
The height has been set to 325. This results in an SVG Element like below
<svg version="1.1" class="highcharts-root " style="font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;font-size:12px;" xmlns="http://www.w3.org/2000/svg" width="1120" height="325" viewBox="0 0 1120 325">
I would like the height to be 400 instead of 325 while keeping the viewbox as it is. Is there a way to achieve this?