Progress® Telerik® Reporting R3 2021

New to Telerik Reporting? Download free 30-day trial

DefaultLabelValue

This article is obsolete. The Chart item is now superseded by the more advanced Graph item. The Graph item is most often used for building powerful OLAP/Pivot charts.

DefaultLabelValue ChartSeries.DefaultLabelValue specifies a format for label values that will be displayed automatically if you do not specifically assign text to a chart series item.

  • Use "#Y" or "#X" to display numbers from the X or Y axis respectively
  • Use "#%" for a percentage of the total sum (of all items).
  • Use "#SUM" to display the total of all items. 
  • "#STSUM" displays the sum of a stacked series.
  • "#SERIES" displays the series name.
  • "#ITEM" displays the item name.
  • You can also use the formatting described in this MSDN article Standard Numeric Format Strings. Use curly brackets to contain the standard numeric formats.  For example, you can display Y values as currency by setting DefaultLabelValue ChartSeries.DefaultLabelValue  to "#Y{C}". See examples in the figure below.

DefaultLabelValue Examples

In this article
Not finding the help you need?