series.markersObject

Marker options.

Applicable to area and line series

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            background: "blue",
            size: 8,
            type: "circle"
        }
    }]
});
</script>

series.markers.backgroundString|Function

The background color of the current series markers.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            background: "green"
        }
    }]
});
</script>

series.markers.borderObject|Function

The border of the markers.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            border: {
                color: "red",
                width: 2
            }
        }
    }]
});
</script>

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

The color of the border.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            border: {
                color: "blue"
            }
        }
    }]
});
</script>

series.markers.border.widthNumber|Function(default: 0)

The width of the border.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            border: {
                width: 3
            }
        }
    }]
});
</script>

series.markers.sizeNumber|Function(default: 6)

The marker size.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            size: 12
        }
    }]
});
</script>

series.markers.typeString|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.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            type: "triangle"
        }
    }]
});
</script>

series.markers.visibleBoolean|Function(default: false)

The markers visibility.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true
        }
    }]
});
</script>

series.markers.rotationNumber|Function

The rotation angle of the markers.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12],
        markers: {
            visible: true,
            type: "triangle",
            rotation: 45
        }
    }]
});
</script>