cancel
Showing results for 
Search instead for 
Did you mean: 

Hide specific Legends

Former Member
0 Kudos
969

Hi,

Can I ask how I can hide only specific legends when using Column chart of type Infochart?

Is there a CSS script I can use?

Thanks,

Prakash

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vidya,

Thanks for your response. My requirement is to hide not all of them. As you can see I want to hide 3rd and 4th legend including the text that comes after that.

CSS script which does above will certainly help. Can you please share it?

Thanks,

Prakash

Vidhya
Active Participant
0 Kudos

Hi Prakash,

we have option in "Advance Properties" to Hide or Show the legend.Please find the attached.

crosstab1.png

In case, You need to hide in CSS. Please let me know.

Regards,

Vidhya.C

Vidhya
Active Participant
0 Kudos

Hi Prakash,

Please try this CSS code, It will hide 3th Legend.

:nth-child(3n).v-legend-element { display: none; }

Regards,

Vidhya.C