New to Kendo UI for jQueryStart a free 30-day trial

Scale.labels.border

configuration

The border of the labels.

<div id="gauge"></div>
<script>
$("#gauge").kendoCircularGauge({
    value: 50,
    scale: {
        labels: {
            border: {
                color: "#0058e9",
                width: 1
            }
        }
    }
});
</script>

The color of the border. Any valid CSS color string will work here, including hex and rgb.

<div id="gauge"></div>
<script>
$("#gauge").kendoCircularGauge({
    value: 50,
    scale: {
        labels: {
            border: {
                color: "#ff6358",
                width: 2
            }
        }
    }
});
</script>

The dash type of the border.

"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.

Default: "solid"

<div id="gauge"></div>
<script>
$("#gauge").kendoCircularGauge({
    value: 50,
    scale: {
        labels: {
            border: {
                dashType: "dot",
                color: "#0058e9",
                width: 1
            }
        }
    }
});
</script>

The opacity of the border. By default the border is opaque.

Default: 1

<div id="gauge"></div>
<script>
$("#gauge").kendoCircularGauge({
    value: 50,
    scale: {
        labels: {
            border: {
                color: "#0058e9",
                width: 2,
                opacity: 0.6
            }
        }
    }
});
</script>

The width of the border.

Default: 0

<div id="gauge"></div>
<script>
$("#gauge").kendoCircularGauge({
    value: 50,
    scale: {
        labels: {
            border: {
                color: "#0058e9",
                width: 3
            }
        }
    }
});
</script>