Tableau show legends for lines charts on dual axis?

11,061

Using the "All" marks card (the top one), put Measure Names on the color shelf

Share:
11,061
jxn
Author by

jxn

Updated on June 14, 2022

Comments

  • jxn
    jxn almost 2 years

    I have 2 lines in a chart and i used dual axis on them. For each line, i manually picked colors for them through the MARKS card.

    enter image description here

    Now I need a legend to show what each line and their color represent but i dont see any way to do it. When i put one of the pill on the colors box, it gives me a gradient of colors on my trend line which is not the color i manually picked by clicking on the colors box.

    How can i go about doing this?