categoryAxis.notes.lineObject
The line of the notes.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
data: [1, 2, 3, 4, 5, 4, 3, 2],
categoryAxis: {
notes: {
data: [{
value: "Q2",
text: "Q2 Note"
}],
line: {
width: 3,
color: "blue",
length: 20
}
}
}
});
</script>
categoryAxis.notes.line.widthNumber
The line width of the notes.
Example - set the category axis notes line width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
line: {
width: 4
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.line.colorString
The line color of the notes.
Example - set the category axis notes color width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
line: {
color: "#aa00bb"
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.line.lengthNumber
The line length of the notes.
Example - set the category axis notes color width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
line: {
length: 20
},
data: [{ value: 1 }]
}
}
});
</script>
In this article