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 '%'.

Label customization

Sankey diagrams 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.

Within the text box, enter the desired content for your node labels. Use the appropriate formatting to ensure an optimal appearance in your Sankey Diagram. Refer to the tips above.. Refer to the tips above.

Last updated