How do you set and change the height?
$('#gauge').kendoRadialGauge({
pointer: { value: 0, },
scale: {
min: 0,
max: 100,
minorUnit: 5,
startAngle: -30,
endAngle: 210,
gaugeArea: { height: 310, },
ranges: [
{ from: 0, to: 20, color: "#bbf2df" },
{ from: 21, to: 49, color: "#ffc700" },
{ from: 50, to: 1000, color: "#fc4a4a" }
]
}
});
Still has the default height of 200px. Calling resize() after changing the css attribute also doesn't change the height.
$('#gauge').css({ height: '300px' }).data("kendoRadialGauge").resize(true);
Can you not make the gauges smaller than 200px?