Aligning data point labels inside bars

Contents[Hide]

1. Overview

Learn how to align chart data point labels inside bars towards the start or the ends of the bars.

This article describes features available in Dundas BI 2.6 or later.

2. Displaying labels inside bars

Consider the following bar chart which displays vertical bars.

Bar chart with vertical bars
Bar chart with vertical bars

Sub-select the series on the chart (e.g. by left clicking on a data point). Go to Properties and click Text to see the text-related properties of the series. Click the plus sign button under Labels.

Text properties for chart series
Text properties for chart series

Data Label Settings item is added. Click this to edit its properties.

Click Data Label Settings
Click Data Label Settings

In the Data Label Settings, set the Placement to Inside and enter the name of the measure in square brackets in the Text property. This is a placeholder which will be replaced with the actual measure value at each data point.

Set the Placement and Text properties
Set the Placement and Text properties

Measure values are now displayed within each bar.

3. Inside Alignment = Toward Start

Data point labels displayed within the bars of a chart can be aligned towards the start of each bar (e.g. towards the zero or minimum value). This applies to bar, area, and range charts, including stacked and curved types.

In the Data Label Settings properties, set the Inside Alignment to Toward Start.

Toward Start inside alignment
Toward Start inside alignment

This will also work when the bars are horizontal (i.e. inverted axes). Go to the dashboard designer toolbar and click Horizontal Bars to see this.

Toward Start inside alignment with horizontal bars
Toward Start inside alignment with horizontal bars

4. Inside Alignment = Toward End

Data point labels displayed within the bars of a chart can be aligned towards the end of each bar (e.g. towards the maximum value). This applies to bar, area, and range charts, including stacked and curved types.

In the Data Label Settings properties, set the Inside Alignment to Toward End.

Toward End inside alignment
Toward End inside alignment

This will also work when the bars are horizontal (i.e. inverted axes). Go to the dashboard designer toolbar and click Horizontal Bars to see this.

Toward End inside alignment with horizontal bars
Toward End inside alignment with horizontal bars

5. See also

 

Dundas Data Visualization, Inc.
500-250 Ferrand Drive
Toronto, ON, Canada
M3C 3G8

North America: 1.800.463.1492
International: 1.416.467.5100

Dundas Support Hours: 7am-6pm, ET, Mon-Fri