series.markers.rotation Number|Function
The rotation angle of the markers.
Example
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [{
type: "line",
data: [200, 450, 300, 125],
markers: {
type: "square",
rotation: 45
}
}]
});
</script>
Example
$("#chart").kendoChart({
dataSource: {
data: [{
speed: 2,
dir: 45
}, {
speed: 4.6,
dir: 180
}]
},
series: [{
type: "line",
field: "speed",
markers: {
type: "triangle",
size: 20,
rotation: function(point) {
// "Bind" rotation to dataItem field
return point.dataItem.dir;
}
}
}]
});