series.markers.background String|Function

The background color of the series markers.

Example - set the chart series markers background

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

Example - set the chart series markers background via function

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [{
    type: "line",
    markers: {
      visible: true,
      background: function (e) {
        return e.series.color; // will match the series color
      }
    },
    data: [1, 2, 3]
  }]
});
</script>
In this article
Not finding the help you need? Improve this article