series.markers Object

Marker options.

** Applicable for area and line series. **

series.markers.background String|Function

The background color of the current series markers.

series.markers.border Object|Function

The border of the markers.

series.markers.border.color String|Function(default: "black")

The color of the border.

series.markers.border.width Number|Function(default: 0)

The width of the border.

series.markers.size Number|Function(default: 6)

The marker size.

series.markers.rotation Number|Function

The rotation angle of the markers.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    series: [{
      type: "line",
      field: "value",
      categoryField: "date",
      markers: {
        type: "square",
        rotation: 45
      },
      data: [
        { value: 1, date: new Date(2012, 1, 1) },
        { value: 2, date: new Date(2012, 1, 2) }
      ]
    }]
});
</script>

series.markers.type String|Function(default: "circle")

Configures the markers shape type.

"square"

The marker shape is square.

"triangle"

The marker shape is triangle.

"circle"

The marker shape is circle.

"cross"

The marker shape is cross.

series.markers.visible Boolean|Function(default: false)

The markers visibility.

In this article
Not finding the help you need? Improve this article