We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Remove Layer Name from Graph Legend

abrahamlauer
7 - Meteor

Anyone know of a way to remove the layer names from the legend in the attached graph?  Since I have two layers and am transforming one, it puts the layer at the end in parentheses.  I've messed around with trying to replace it in the xml (see attached workflow).  I can change/remove the name of the layer, but the parentheses won't go away. 

 

The only marginal success I've had is that I can double click into the legend and manually delete it.  But then when categories 3 and 4 come around, that fix won't work for the new categories.

 

Any thoughts?  Thanks!

2 REPLIES 2
gawa
16 - Nebula
16 - Nebula

@abrahamlauer 

In the Interactive Chart tool, go to Layer tab and set toggle option 'SHOW IN LEGEND' to swithc show<=>hide the particular variables in legend.

In the below snapshot. it shows setting for 'layer1' but if you want to dynamically hide legend for all Line charts that might be added depending on input data, then switch tab at top from 'Individually' to 'By Type', and set 'SHOW IN LEGEND' to Hide within that tab.

image.png

abrahamlauer
7 - Meteor

@gawa Thanks for the response, but not what I am trying to do.  I want all three legend entries to be showing, but I want the first two to only be Category1/2 and not have the layer name in parentheses.  As soon as I add in a second layer, the chart automatically puts the layer name behind the legend entry and I can't get rid of it.

Labels
Top Solution Authors