seriesDefaults.legendItem.markers.typeString|Function
The markers shape.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
seriesDefaults: {
legendItem: {
markers: {
type: "square"
}
}
},
series: [{
type: "line",
data: [
{ date: new Date(2023, 0, 1), value: 10 },
{ date: new Date(2023, 0, 2), value: 20 },
{ date: new Date(2023, 0, 3), value: 15 }
],
}]
});
</script>
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.
- "rect" - alias for "square".
- "roundedRect" - the marker shape is a rounded rectangle.