seriesDefaults.borderObject

The border of the series.

Example

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

seriesDefaults.border.colorString(default: "black")

The color of the border.

Example

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

seriesDefaults.border.dashTypeString(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: "line",
    seriesDefaults: {
        border: {
            dashType: "dash",
            color: "red",
            width: 2
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>

seriesDefaults.border.widthNumber(default: 0)

The width of the border.

Example

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