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.


<div id="stock-chart"></div>
    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) }

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

Configures the markers shape type.


The marker shape is square.


The marker shape is triangle.


The marker shape is circle.


The marker shape is cross.

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

The markers visibility.

In this article