pointer.borderObject
The border of the pointer.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 25,
border: {
color: "#e91e63",
width: 2,
dashType: "solid"
}
},
scale: {
min: 0,
max: 50
}
});
</script>
pointer.border.colorString
The color of the border. Any valid CSS color string will work here, including hex and rgb.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 25,
border: {
color: "#2196f3",
width: 1
}
},
scale: {
min: 0,
max: 50
}
});
</script>
pointer.border.dashTypeString(default: "solid")
The dash type of the border.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 25,
border: {
color: "#ff5722",
width: 2,
dashType: "dot"
}
},
scale: {
min: 0,
max: 50
}
});
</script>
"solid"
Specifies a solid line.
"dot"
Specifies a line consisting of dots.
"dash"
Specifies a line consisting of dashes.
"longDash"
Specifies a line consisting of a repeating pattern of long-dash.
"dashDot"
Specifies a line consisting of a repeating pattern of dash-dot.
"longDashDot"
Specifies a line consisting of a repeating pattern of long-dash-dot.
"longDashDotDot"
Specifies a line consisting of a repeating pattern of long-dash-dot-dot.
pointer.border.widthNumber(default: 1)
The width of the border.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 25,
border: {
color: "#9c27b0",
width: 3
}
},
scale: {
min: 0,
max: 50
}
});
</script>
In this article