seriesDefaults.notes.icon Object
The icon of the notes.
seriesDefaults.notes.icon.background String
The background color of the notes icon.
Example - set the seriesDefaults notes icon background
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
background: "red"
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>
seriesDefaults.notes.icon.border Object
The border of the icon.
Example - set the seriesDefaults notes icon border
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
border: {
width: 2,
color: "red"
}
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>
seriesDefaults.notes.icon.border.color String
The border color of the icon.
Example - set the seriesDefaults notes icon border color
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
border: {
width: 2,
color: "red"
}
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>
seriesDefaults.notes.icon.border.width Number
The border width of the icon.
Example - set the seriesDefaults notes icon border width
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
border: {
width: 2,
color: "red"
}
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>
seriesDefaults.notes.icon.size Number
The size of the icon.
Example - set the seriesDefaults notes icon size
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
size: 30
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>
seriesDefaults.notes.icon.type String
(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 - set the seriesDefaults notes icon shape
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
type: "triangle"
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>
seriesDefaults.notes.icon.visible Boolean
(default: "true")
The icon visibility.
Example - set the seriesDefaults notes icon visibility
<div id="chart"></div>
<script>
$("#chart").kendoChart({
dataSource: {
data: [{
value: 1,
noteText: "A"
}]
},
seriesDefaults: {
notes: {
icon: {
visible: false
}
}
},
series: [{
field: "value",
noteTextField: "noteText"
}]
});
</script>