seriesDefaults.labels.color String

The text color of the labels. Accepts a valid CSS color string, including hex and rgb.

Example - set the chart series label color as a hex string

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  seriesDefaults: {
    labels: {
      visible: true,
      color: "#aa00bb"
    }
  },
  series: [
    { data: [1, 2] }
  ]
});
</script>

Example - set the chart series label color as a RGB value

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  seriesDefaults: {
    labels: {
      visible: true,
      color: "rgb(128, 0, 255)"
    }
  },
  series: [
    { data: [1, 2] }
  ]
});
</script>

Example - set the chart series label color by name

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  seriesDefaults: {
    labels: {
      visible: true,
      color: "green"
    }
  },
  series: [
    { data: [1, 2] }
  ]
});
</script>
In this article
Not finding the help you need?