gaugeArea.borderObject
The border of the gauge area.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
gaugeArea: {
border: {
color: "#cccccc",
width: 2,
dashType: "dash"
}
},
pointer: [{
value: 75
}]
});
</script>
gaugeArea.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").kendoRadialGauge({
gaugeArea: {
border: {
color: "#ff6600",
width: 3
}
},
pointer: [{
value: 40
}]
});
</script>
gaugeArea.border.dashTypeString(default: "solid")
The dash type of the border.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
gaugeArea: {
border: {
color: "#333333",
width: 2,
dashType: "dot"
}
},
pointer: [{
value: 60
}]
});
</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.
gaugeArea.border.opacityNumber(default: 1)
The opacity of the border. By default the border is opaque.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
gaugeArea: {
border: {
color: "#333333",
width: 4,
opacity: 0.5
}
},
pointer: [{
value: 45
}]
});
</script>
gaugeArea.border.widthNumber(default: 0)
The width of the border.
Example
<div id="gauge"></div>
<script>
$("#gauge").kendoRadialGauge({
gaugeArea: {
border: {
color: "#000000",
width: 5
}
},
pointer: [{
value: 80
}]
});
</script>
In this article