xAxis.notes.line Object
The line of the notes.
xAxis.notes.line.dashType String
(default: "solid")
The dash type of the note line.
The following dash types are supported:
- "dash" - a line consisting of dashes
- "dashDot" - a line consisting of a repeating pattern of dash-dot
- "dot" - a line consisting of dots
- "longDash" - a line consisting of a repeating pattern of long-dash
- "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
- "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
- "solid" - a solid line
Example - set the x axis notes line width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
xAxis: {
notes: {
line: {
dashType: "dot",
length: 30
},
data: [{ value: 1.3 }]
}
}
});
</script>
xAxis.notes.line.width Number
The line width of the notes.
Example - set the x axis notes line width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
xAxis: {
notes: {
line: {
width: 3
},
data: [{ value: 1.3 }]
}
}
});
</script>
xAxis.notes.line.color String
The line color of the notes.
Example - set the x axis notes color width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
xAxis: {
notes: {
line: {
color: "teal"
},
data: [{ value: 1.3 }]
}
}
});
</script>
xAxis.notes.line.length Number
The length of the connecting lines in pixels.
Example - set the x axis notes color width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "scatter",
data: [[1, 2], [2, 3]]
}],
xAxis: {
notes: {
line: {
length: 30
},
data: [{ value: 1.3 }]
}
}
});
</script>