New to Kendo UI for jQuery? Start a free 30-day trial

The border of the labels.

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        labels: {
            visible: true,
            border: {
                color: "red",
                width: 2,
                dashType: "dash"
            }
        }
    }]
});
</script>

The color of the border.

Default: "black"

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        labels: {
            visible: true,
            border: {
                color: "green"
            }
        }
    }]
});
</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="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        labels: {
            visible: true,
            border: {
                dashType: "dot",
                width: 2
            }
        }
    }]
});
</script>

The width of the border.

Default: 0

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        labels: {
            visible: true,
            border: {
                width: 3,
                color: "blue"
            }
        }
    }]
});
</script>