scale.labels.borderObject
The border of the labels.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 30
},
scale: {
min: 0,
max: 50,
labels: {
background: "#ffffff",
border: {
color: "#2196f3",
width: 1,
dashType: "solid"
}
}
}
});
</script>
scale.labels.border.colorString(default: "black")
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: 30
},
scale: {
min: 0,
max: 50,
labels: {
border: {
color: "#4caf50",
width: 2
}
}
}
});
</script>
scale.labels.border.dashTypeString(default: "solid")
The dash type of the border.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 30
},
scale: {
min: 0,
max: 50,
labels: {
border: {
color: "#ff9800",
width: 1,
dashType: "dash"
}
}
}
});
</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.
scale.labels.border.widthNumber(default: 0)
The width of the border.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoLinearGauge({
pointer: {
value: 30
},
scale: {
min: 0,
max: 50,
labels: {
border: {
color: "#e91e63",
width: 2
}
}
}
});
</script>