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