categoryAxis.notes.iconObject
The icon 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"
}],
icon: {
background: "red",
type: "circle",
size: 15
}
}
}
});
</script>
categoryAxis.notes.icon.backgroundString
The background color of the notes icon.
Example - set the category axis notes icon background
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
background: "red"
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.icon.borderObject
The border of the icon.
Example - set the category axis notes icon border
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
border: {
width: 2,
color: "red"
}
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.icon.border.colorString
The border color of the icon.
Example - set the category axis notes icon border color
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
border: {
width: 2,
color: "red"
}
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.icon.border.widthNumber
The border width of the icon.
Example - set the category axis notes icon border width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
border: {
width: 2,
color: "red"
}
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.icon.sizeNumber
The size of the icon.
Example - set the category axis notes icon size
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
size: 30
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.icon.typeString(default: "circle")
The icon shape.
The supported values are:
- "circle" - the marker shape is circle.
- "square" - the marker shape is square.
- "triangle" - the marker shape is triangle.
Example - set the category axis notes icon shape
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
shape: "triangle"
},
data: [{ value: 1 }]
}
}
});
</script>
categoryAxis.notes.icon.visibleBoolean(default: "true")
The icon visibility.
Example - set the category axis notes icon visibility
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
data: [1, 2, 3]
}],
categoryAxis: {
notes: {
icon: {
visible: false
},
data: [{ value: 1 }]
}
}
});
</script>