As the title reads, is it possible to reverse the direction of a vertical linear gauge, so it starts to move from top to bottom? My scenario is the following:
I'm feeding the gauge with real time depth data, and I have defined top / surface to be at 0. When moving deeper, I'd like the pointer to move downwards towards the bottom of the gauge.
It moves fine with the real time data now, but in the wrong direction :)
Any suggestions?
I'm feeding the gauge with real time depth data, and I have defined top / surface to be at 0. When moving deeper, I'd like the pointer to move downwards towards the bottom of the gauge.
It moves fine with the real time data now, but in the wrong direction :)
Any suggestions?
<script>
function
createGauges() {
$(
"#depthBar"
).kendoLinearGauge({
pointer: {
value: 0,
shape:
"arrow"
},
scale: {
majorUnit: 1000,
minorUnit: 500,
min: 0,
max: 12000,
vertical:
true
,
}
});
}
$(document).ready(
function
() {
createGauges();
});
</script>