Labels

Labels formatting

Format options

You can format your measure as a decimal or a percentage using the dropdown menu. Input the number of decimal spaces in the 'Decimals' box. You can also add a 'Prefix' and/or a 'Suffix' in the text boxes. The prefix will appear before the word, while the suffix will appear after. For example, a prefix could add a currency symbol like '$' and a suffix could add a percentage symbol '%'.

Header Aliases

The headers can be configured using this setting. By default, the header values are the dimension names, which can be adjusted to meet specific requirements. Users may set custom headers to better align with their data needs and preferences.

Label customization

Sankey diagram provide a feature that allows users to customize the labels according to their specific needs. The content of these labels can be configured using HTML format, which enables a wide range of customization options. Additionally, users have the convenience of using short codes such as <DimensionName> to dynamically insert the dimension name into the labels. This level of flexibility ensures that the labels can be tailored to convey the exact information required, enhancing the readability and effectiveness of the Sankey diagram in representing data flows and relationships.

Example

Here is an example of how you can customize a label using HTML format and a short code:

<span style="color: blue; font-weight: bold;"><DimensionName></span>

In this example, the dimension name will be displayed in bold blue text within the Sankey diagram label.

Label Editing Format the content displayed on your nodes, both going to and coming from them. You can include additional text and utilize shortcodes from your data. You can use HTML such as H1, IMG tags, or Bold for additional formatting options. You can put a word in bold and adjust the text size. You can also add more than one measure to labels or tooltips by including them in the data source.

You can add a calculated percentage of either the group or the total to labels and tooltips. The percentage of the total is based on the SUM of the measure in the first level of the Sankey Diagram.

Last updated