Html Tabs

Set the autoHeight property of the jqxTabs. Author: http://jqwidgets.com

HTML

<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<div id="LoadTemp"></div>

JavaScript

$("#LoadTemp").jqxBarGauge({
        width: 200,
        height: 200,
        values: [0.0, 0.0],
        min: 0,
        max: 60,
        animationDuration: 250,
        startAngle: 265,
        endAngle: 275,
        title:	{
            text: 'Load Temperatures',
            font: { size: 12, color: 'black', weight: 'bold', family:"Segoi-UI"},
            margin: { top: 0, bottom: 2, left: 0, right: 0},
            verticalAlignment: 'bottom'
        },
        labels: {
            font: {size: 8,},
            precision: 1,
        },
        colorScheme: 'customColors',
        customColorScheme: { name: 'customColors', colors: ['#A60000', '#820033'] },
        tooltip: {visible: true,
            precision: 1,
            formatFunction: function (value, index){
                switch(index)
                {
                    case 0 : return("Inlet = " + value);
                    default : return ("Outlet = " + value);
                }
            }}
});

setInterval(() => {

		const data = {
    	LoadTempIn: Math.floor(Math.random() * 10),
      LoadTempOut: Math.floor(Math.random() * 10),
    }

		const Control = $("#LoadTemp");
    const ControlVals = Control.val();
    
    if (ControlVals[0] != data.LoadTempIn || ControlVals[1] != data.LoadTempOut) {
        Control.jqxBarGauge('val', [data.LoadTempIn, data.LoadTempOut]);
    }
}, 1000)