series.notes.iconObject
The icon of the notes.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
background: "red",
size: 16,
type: "circle",
border: {
color: "black",
width: 1
}
}
}
}]
});
</script>
series.notes.icon.backgroundString
The background color of the notes icon.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
background: "lightblue"
}
}
}]
});
</script>
series.notes.icon.borderObject
The border of the icon.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
border: {
color: "red",
width: 2
}
}
}
}]
});
</script>
series.notes.icon.border.colorString
The border color of the icon.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
border: {
color: "green",
width: 2
}
}
}
}]
});
</script>
series.notes.icon.border.widthNumber
The border width of the icon.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
border: {
color: "red",
width: 3
}
}
}
}]
});
</script>
series.notes.icon.sizeNumber
The size of the icon.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
size: 20
}
}
}]
});
</script>
series.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.
- "cross" - the marker shape is cross.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
type: "square"
}
}
}]
});
</script>
series.notes.icon.visibleBoolean(default: "true")
The icon visibility.
Example
<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
type: "line",
series: [{
data: [10, 15, 8, 12],
notes: {
data: [{
value: 15,
text: "Peak Value"
}],
icon: {
visible: false
}
}
}]
});
</script>
In this article