3.1. Display custom flow

To display custom flow between nodes, the data must have source and target node pairs. By default, the hierarchies in Rows are added to the Source Name property. Adding an element to the Target Name property will display the custom flow.

4. Change link color and width

An Auto Color Rule is applied to the links in the diagram. You can modify the settings of the rule by clicking the brush icon next to the Color field, or going to the Look section of the Properties panel and selecting Auto Color Rule.

An Auto Size Rule is applied to the links in the diagram. You can modify the settings of the Stroke Width Rules in the same manner as modifying the color rule.

Note

Using a dimension in the color or width field would enable the use of discrete rules. Rather than automatically spread across a range, discrete rules enable you to modify the formatting for a single value.

5. Change node color

Since the data in the source/target pair is used to describe the links in the diagram, it is not possible to associate other measures or hierarchies to the nodes. In order to assign data to nodes, a second metric set has to be added to the visualization.

Note

When not using source/target pairs, all the settings can be configured on the same metric set. You will not be able to add a second metric set to the Data Analysis Panel.

Drag the ProductID dimension from the [Sales].[SalesOrderDetail] table of the Adventure Works data connector to the Rows field. Drag the Product hierarchy over it. Edit ProductID and set the Top Level to be the same as in the previous metric set.

Click Visualization in the Data Analysis Panel. Drag the LineTotal measure from the data connector to the Color field.

As with the links, an Auto Color Rule is applied to the nodes in the diagram.

6. Change labels and tooltips

Under the Text section of the Properties panel, you can customize the Label Text and Tooltip Text properties for both the links and the nodes.

These properties accept regular text, as well as keywords such as [Member] and [Level] for the hierarchy member and level caption respectively. For additional information about available keywords, refer to the Formatting Text article.

As a shortcut for applying the proper keyword, you can use the Visualization tab in the Data Analysis Panel.

For example, use the dropdown at the top of the Data Analysis Panel to switch back to the first metric set (the one specifying the color and width of the links). Drag the OrderQTY measure from the Width field to the Label field.