yAxis.notes.data.line Object
The line of the note.
yAxis.notes.data.line.width Number
The line width of the note.
Example - set the y axis note line width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
yAxis: {
notes: {
data: [{
value: 1.3,
line: {
width: 3
}
}]
}
}
});
</script>
yAxis.notes.data.line.color String
The line color of the note.
Example - set the y axis note color width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
yAxis: {
notes: {
data: [{
value: 1.3,
line: {
color: "teal"
}
}]
}
}
});
</script>
yAxis.notes.data.line.length Number
The length of the connecting lines in pixels.
Example - set the y axis note color width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
yAxis: {
notes: {
data: [{
value: 1.3,
line: {
length: 50
}
}]
}
}
});
</script>