Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display one single legend in a line chart composed by multiple expressions

I have a line chart. This chart has one dimension and multiple expressions so multiple expressions are displayed in the chart at the same time. I am displaying the expressions as legends. Now what I am trying to do is to be able to select any legend in order to only display it alone in the chart and make other expressions hidden. Also, a function to revert all, that is, once any legend is displayed alone in the chart, make something to be able to make visible all legends together in the chart. In the below link is asked but without a solution. Has anybody found a solution?

How to select single expression (in a line chart) from a legend

Grouping expressions is not working because only one expression (legend) could be displayed at the same time in the same line chart, but in case I would want to display all it would be not possible.

I am using QlikView 11.

2 Replies
migueldelval
Specialist
Specialist

Hi Tony,

Maybe you can use a trick, and make buttons as leyend. You don´t show normal legend, show buttons with actions.

And you can use conditionals to show or not your lines.

Regards

Miguel del Valle

Not applicable
Author

Thanks Miguel, you are right. I was thinking on simulate through buttons or text and assign them actions. Thanks for the suggestion. Great!