series.labels.format String|Function (default: "{0}")

The format of the labels. Uses kendo.format.

Format placeholders:

  • Area, bar, column, line, pie, radarArea, radarColumn and radarLine
  • {0} - value

  • Bubble

  • {0} - x value
  • {1} - y value
  • {2} - size value
  • {3} - category name

  • Bullet

  • {0} - value
  • {1} - target value

  • Scatter, scatterLine

  • {0} - x value
  • {1} - y value

  • PolarArea, polarLine and polarScatter

  • {0} - x value (degrees)
  • {1} - y value

  • Candlestick and OHLC

  • {0} - open value
  • {1} - high value
  • {2} - low value
  • {3} - close value
  • {4} - category name

  • RangeArea, rangeBar, rangeColumn

  • {0} - from value
  • {1} - to value

Example - set the chart series label format

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [ {
    labels: {
      visible: true,
      format: "{0:C}"
    },
    data: [1, 2, 3]
  }]
});
</script>
In this article