2 Replies Latest reply: Nov 12, 2010 1:34 PM by Miguel Angel Baeyens de Arce RSS

    Hide Legend Entries


      Just wondering, in a graph if there are some legend entries I want hide based on some condition is this possible?? I still want the values to be graphed, I just don't want some of the legend entries to be shown.



        • Hide Legend Entries
          Marcel Olmo

          Hey Julia,

          yes, you can do it. You have to go into chart properties, the "general" tab, and treat the tittle as a variable.

          Some like :

          ='my title'&if(condition,'show legend', 'not show legend')

          Hope it helps!!


          • Hide Legend Entries
            Miguel Angel Baeyens de Arce

            Hello Julia,

            In version 9, if you show the legend, it will contain all possible expressions or dimensions. Anyway, you can do a conditional to show the color but not the label, using the following as label in dimension or expression:


            If($(vShow) = 1, 'Label', ' ')

            Hope that helps