"setSeriesBarLabelFormat"

Defines the label format for the selected bars of the given series.

Synopsis

shape.setSeriesBarLabelFormat(int series, string format);

Parameters

Parameter Description
series Series index
format Format string

Description

Defines the label format for the selected bars of the given series. The format can be defined by using the following tags:

  • @rowTitle - Title from row axis

  • @colTitle - Title from column axis

  • @valueTitle - Title from value axis

  • @rowIdx - Visible row index

  • @colIdx - Visible Column index

  • @rowLabel - Label from row axis

  • @colLabel - Label from column axis

  • @valueLabel - Item value formatted using the same format the value axis attached to the graph uses, see valueLabelFormat

  • @seriesName - Name of the series

  • %<format spec> Item value in specified format.

Example

main()
{
  BarChart3D_ewo1.setSeriesBarLabelFormat(1, "Row: @rowIdx, Column: @colIdx, @valueTitle: %.1f");
  //e.g. valueTitle = "Temperature", the bar label is:
  //Row: 1,  Column: 3, Temperature: 24.5
}

Assignment

BarChart3D-EWO