Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy