seriesDefaults.legendItem.markers.typeString|Function

The markers 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.
  • "rect" - alias for "square".
  • "roundedRect" - the marker shape is a rounded rectangle.

Example

<div id="chart"></div>
<script>
$("#chart").kendoChart({
    series: [{
        type: "line",
        name: "Series A",
        data: [1, 2, 3],
        markers: { visible: true }
    }],
    seriesDefaults: {
        legendItem: {
            markers: {
                type: "triangle"
            }
        }
    }
});
</script>