Edit this page

seriesDefaults.labels Object

The chart series label configuration.

The chart displays the series labels when the seriesDefaults.labels.visible option is set to true.

Example - configure the chart series label

<div id="chart"></div>
  seriesDefaults: {
    labels: {
      visible: true,
      background: "green",
      border: {
        width: 2,
        color: "black"
  series: [
    { data: [1, 2] }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article