Orange polygon containing globe and two arrows pointing toward each other.

Map Legend Builder Tool

Version:
Current
Last modified: May 13, 2020

Use the Map Legend Builder tool to takes the components output from the Map Legend Splitter tool and build them back into a legend table. If you add a Map Legend Builder tool immediately after a Map Legend Splitter tool, the resulting legend will be the same as the legend output originally from the Report Map tool. The purpose of the two tools is that you can change the data between them and therefore create a custom legend.

Configure the Tool

Specify the fields output from the Map Legend Splitter tool:

  1. Text Field: The text you can see in the legend.
  2. Image Field: Contains the report snippet with the legend image.
  3. Text Style Field: The table styling elements for the PCXML table, like the alignment of the text.
  4. Image Style Field: The table styling elements for the PCXML table, like the alignment of the image.

After you build the legend, you can join it back to the map or any other report elements.

Use Case Example

Consider the legend:

Image showing an example map legend.

If you want to remove the repeated "Purchase Sum" from the Legend text, after using the Map Legend Splitter tool, the output will look like:

Image showing the output after using a Map Legend Splitter too.

You can remove "Purchase Sum" from the final legend by adding a Legend Builder tool. For the Text field specification, choose "ThemeBand" and the resulting legend will look like:

Image showing the resulting legend after adding a Legend Builder tool.
Was This Helpful?

Running into problems or issues with your Alteryx product? Visit the Alteryx Community or contact support.