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

Series.notes.line

configuration

The line of the notes.

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        notes: {
            data: [{
                value: 15,
                text: "Peak Value"
            }],
            line: {
                width: 3,
                color: "red",
                length: 20
            }
        }
    }]
});
</script>

The line color of the notes.

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

The length of the connecting lines in pixels.

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        notes: {
            data: [{
                value: 15,
                text: "Peak Value"
            }],
            line: {
                length: 30
            }
        }
    }]
});
</script>

The line width of the notes.

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        notes: {
            data: [{
                value: 15,
                text: "Peak Value"
            }],
            line: {
                width: 4
            }
        }
    }]
});
</script>