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

Vizlib Scatterplot Conditional Label Visibility

Hi! I'm trying to modify the label visibility of my scatterplot so that if there are more than 5 animal names, I only see the top 5 labels based on the highest importance with 1 being highest and 5 being lowest. And if there are less than 5 animal names, I want to see all labels. It seems like I'd have to use a nested if statement similar to the following but modified. 

if(count('Animal Name') <=5, 1, 0)

If I use the statement above, it doesn't show any labels if the count of animal names is greater than 5. Thank you in advance for your advice!

Sara1_0-1666649816657.png

 

Labels (5)
2 Replies
MartW
Partner - Specialist
Partner - Specialist

don't have a direct answer, but vizlib got there own help site and forum as well

hope it helps https://community.vizlib.com/support/solutions/articles/35000107160-vizlib-scatter-chart-introductio...

Sara1
Contributor III
Contributor III
Author

Thank you!