categoryAxis.notesObject

The category axis notes configuration.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    categoryAxis: {
        notes: {
            position: "top",
            icon: {
                background: "red",
                size: 10
            },
            label: {
                text: "Important note"
            },
            data: [{
                value: "Q2",
                text: "Peak quarter"
            }]
        },
        categories: ["Q1", "Q2", "Q3", "Q4"]
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>

Related Properties