series.borderObject

The border of the points.

Applicable to bar, column and pie series

Example

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

series.border.colorString|Function

The color of the border. It defaults to the color of the current series.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    series: [{
        data: [10, 15, 8, 12],
        border: {
            color: "red"
        }
    }]
});
</script>

series.border.dashTypeString|Function(default: "solid")

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.

Example

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

series.border.opacityNumber|Function

The border opacity.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    series: [{
        data: [10, 15, 8, 12],
        border: {
            opacity: 0.6,
            width: 3
        }
    }]
});
</script>

series.border.widthNumber|Function(default: 1)

The width of the border.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    series: [{
        data: [10, 15, 8, 12],
        border: {
            width: 4,
            color: "green"
        }
    }]
});
</script>